Armmite - STM32H7: Nucleo 144 backpack


Author Message
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3777
Posted: 04:53pm 03 Mar 2019      

I'm trying to implement a touch interrupt as shown in the Micromite Manual:

SETPIN 15, INTL, MyInt
DO : LOOP
SUB MyInt
PRINT TOUCH(X) TOUCH(Y)
END SUB

This is my option list:
> option list
OPTION AUTORUN ON
OPTION BAUDRATE 230400
OPTION LCDPANEL SSD1963_4, LANDSCAPE
OPTION TOUCH 56, 123
OPTION SDCARD 110

When I try to set up an interrupt on pin 123 upon touch, I get this.
> SetPin 123, INTL, TouchInt
Error: Pin 123 is reserved on startup

How should I accomplish this?