Skip to content

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

Closed
@mahesh2000

Description

@mahesh2000

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions