How can I wake up usingTouchPad?

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
Shawn
Posts: 1
Joined: Tue Mar 12, 2019 5:16 pm

How can I wake up usingTouchPad?

Post by Shawn » Tue Mar 12, 2019 5:37 pm

I found the following example program cann't work.


t = TouchPad(Pin(14))
t.config(500) # configure the threshold at which the pin is considered touched
esp32.wake_on_touch(True)
machine.lightsleep() # put the MCU to sleep until a touchpad is touched

wrickert
Posts: 6
Joined: Sat Apr 13, 2019 2:23 am

Re: How can I wake up usingTouchPad?

Post by wrickert » Sat Apr 13, 2019 2:24 am

I am having the same problem, did you ever find the solution? Thank you.

Post Reply