Skip to content

Touchpad wakeup: don't need native ISR? #5706

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

Closed
mahesh2000 opened this issue Sep 26, 2021 · 2 comments
Closed

Touchpad wakeup: don't need native ISR? #5706

mahesh2000 opened this issue Sep 26, 2021 · 2 comments
Labels
Type: Question Only question

Comments

@mahesh2000
Copy link

Hi, I'm running a mix of Arduino and ESP32 native API code. It works. The touchpad wakes the ESP32 from deep sleep by using esp_sleep_enable_touchpad_wakeup(). And then setup() (Arduino) is executed. 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 (touch_pad_isr_register(), touch_pad_intr_enable()) have any use at all? Since, on wakeup, setup() is always executed anyway and I can find the source of the wake.

Thanks!

@chegewara
Copy link
Contributor

Yes, you are not using touch ISR in wakeup from deep sleep, but maybe you dont know that you can use touch pads in code too.

@SuGlider SuGlider added the Type: Question Only question label Jan 19, 2022
@SuGlider
Copy link
Collaborator

Check #6194

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Question Only question
Projects
None yet
Development

No branches or pull requests

3 participants