Search found 1 match

by Shawn
Tue Mar 12, 2019 5:37 pm
Forum: ESP32 boards
Topic: How can I wake up usingTouchPad?
Replies: 1
Views: 1549

How can I wake up usingTouchPad?

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