You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Very nice project! I have an issue with waking my device from sleep via the button like in examples/ttgo/axp202_pek_sleep.py. The failing line for me is probably this one: esp32.wake_on_ext1((machine.Pin(35), ), esp32.WAKEUP_ALL_LOW).
I tried to isolate the issue with some simple code:
import time
import machine
btn = machine.Pin(35, machine.Pin.IN)
def loop():
while True:
print({'btn': btn.value()})
time.sleep_ms(50)
loop()
The value is always "1"… do you have any idea what's the problem or is the example code maybe not supposed to work?
The text was updated successfully, but these errors were encountered:
Very nice project! I have an issue with waking my device from sleep via the button like in
examples/ttgo/axp202_pek_sleep.py
. The failing line for me is probably this one:esp32.wake_on_ext1((machine.Pin(35), ), esp32.WAKEUP_ALL_LOW)
.I tried to isolate the issue with some simple code:
The value is always "1"… do you have any idea what's the problem or is the example code maybe not supposed to work?
The text was updated successfully, but these errors were encountered: