-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not possible to detach interrupt #8
Comments
This was referenced Jun 12, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
onDetect()
method can be used to attached interrupts so that when a touch event is detected by the GT911, the specified sub routine is ran specified byhandler
in the function below.Arduino_GigaDisplayTouch/src/Arduino_GigaDisplayTouch.cpp
Lines 173 to 177 in 4101b8a
An example of how to use the interrupt is given in
Touch_IRQ.ino
example.Arduino_GigaDisplayTouch/examples/Touch_IRQ/Touch_IRQ.ino
Line 47 in 4101b8a
Arduino_GigaDisplayTouch/examples/Touch_IRQ/Touch_IRQ.ino
Lines 24 to 34 in 4101b8a
It is not possible to detach the interrupt, using the current public methods. Detaching interrupts is useful for:
delay()
The text was updated successfully, but these errors were encountered: