TTGO_TWatch_Library icon indicating copy to clipboard operation
TTGO_TWatch_Library copied to clipboard

Watch 2020 V2 / attachinterrupt and touchsreen

Open FXVT opened this issue 3 years ago • 0 comments

Bonjour everybody,

I try to call the ToucheEcran subroutine with this interrupt, but it does'nt works.

const byte interruptPin = 38; pinMode(interruptPin, INPUT_PULLUP); attachInterrupt (digitalPinToInterrupt(interruptPin), ToucheEcran, CHANGE); I have understand that the touch screen interrupt is on pin 38. Could you please tel me what is wrong.

The classic command ttgo->getTouch(x,y) works, but I would like to try to get a faster result using attachInterrup.

Merci. FX

FXVT avatar Oct 27 '21 09:10 FXVT