Skip to content

Files

Latest commit

b4ffe0a · Mar 10, 2025

History

History

Read-Touch-Interrupt

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Mar 10, 2025
Mar 10, 2025

Read-Touch-Interrupt

This example demonstrate the use of the CSE_Touch library to read the values from a touch panel. This example uses the interrupt method instead of the polling method. The advantage of the interrupt method is that your processor does not need to poll the touch panel constantly. Instead, it will only be triggered when the touch panel is touched, through an interrupt output from the touch panel which is connected to a GPIO input of the microcontroller.

This example was written for and tested with FireBeetle-ESP32E development board from DFRobot and the 2.8" Capacitive Touch LCD from Waveshare. But you can adapt the examples for any Arduino-compatible boards or other supported touch panels.