QUERY · ISSUE
lightsleep doesn't work with v1.24.1 on ESP32-S2 (S2FN4R2)
bugport-esp32needs-info
Port, board and/or hardware
ESP32-S2, with ESP32-S3 it works!
MicroPython version
MPY v1.24.1 and latest dirty version, ESP32-S2FN4R2,
Reproduction
tested with touch and timeout for wake-up source, e.g. lightsleep(3000)
Expected behaviour
No response
Observed behaviour
no wake-up
Additional Information
No, I've provided everything above.
Code of Conduct
Yes, I agree
CANDIDATE · ISSUE
lightsleep on Pico W regression for 1.24.0
bugport-rp2
Port, board and/or hardware
PICO W
MicroPython version
Micropython 1.24.0
Reproduction
Micropython 1.23.0 can run that code:
import machine
import time
led = machine.Pin("LED", machine.Pin.OUT)
led.off()
while True:
print("Loop instance")
led.on()
time.sleep(0.1)
led.off()
machine.lightsleep(10000)
it will sleep for 10s.
if you try the same with 1.24.0 there is absolutely no sleep at all. the string Loop instance just appears every 0.1 seconds
Expected behaviour
machine.lightsleep to do something on 1.24.0
Observed behaviour
machine.lightsleep do something on 1.23.0 but not 1.24.0
Additional Information
No, I've provided everything above.
Code of Conduct
Yes, I agree