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
{{ message }}
This repository was archived by the owner on Sep 16, 2024. It is now read-only.
I want to make sure that I am correct about the firmware issue. I am struggling tried to run a simple deep sleep function test, but finally, I think I found out the culprit. The function pin_deepsleep_wakeup is not included in the LoPy4 firmware version 1.19.0.b2, instead it is pin_sleep_wakeup! (word deep is missing). I am indeed puzzled why no one noticed it.
Orginal code not working:
machine.pin_deepsleep_wakeup(['P8'], mode=machine.WAKEUP_ANY_HIGH, enable_pull=True)
machine.deepsleep(40)