sleep + touchpad + Arduino mix. Is ISR needed?
Posted: Sun Sep 26, 2021 1:24 pm
Hi,
I'm running a mix of Arduino and ESP32 native API code. The touchpad wakes the ESP32 from deep sleep by using. And then (Arduino) is executed. It works. I need the mix because the wake must be on TOUCH_TRIGGER_ABOVE, which Arduino doesn't have, and I also need Arduino libraries.
Therefore, does the touch ISR (
) have any use at all? Since, on wakeup, is always executed anyway and I can find the source of the wake.
Thanks!
I'm running a mix of Arduino and ESP32 native API code. The touchpad wakes the ESP32 from deep sleep by using
Code: Select all
esp_sleep_enable_touchpad_wakeup()
Code: Select all
setup()
Therefore, does the touch ISR (
Code: Select all
touch_pad_isr_register(), touch_pad_intr_enable()
Code: Select all
setup()
Thanks!