CircuitPython version
Adafruit CircuitPython 8.0.0-beta.3 on 2022-10-20; S2Mini with ESP32S2-S2FN4R2
Code/REPL
import time
while True:
print("Sleeping!")
time.sleep(1)
print("Loopping!")
Behavior
Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.
code.py output:
�]0;🐍192.168.1.138 | code.py | 8.0.0-beta.3�\Sleeping!
Loopping!
Sleeping!
�]0;🐍192.168.1.138 | Done | 8.0.0-beta.3�
Code stopped by auto-reload. Reloading soon.
soft reboot
Description
It seams that time.sleep crashes the microcontroller after a few times that it is called. Most times it only gets one sleep in before it does a "soft reboot"
Additional information
No response
CircuitPython version
Code/REPL
Behavior
Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.
code.py output:
�]0;🐍192.168.1.138 | code.py | 8.0.0-beta.3�\Sleeping!
Loopping!
Sleeping!
�]0;🐍192.168.1.138 | Done | 8.0.0-beta.3�
Code stopped by auto-reload. Reloading soon.
soft reboot
Description
It seams that time.sleep crashes the microcontroller after a few times that it is called. Most times it only gets one sleep in before it does a "soft reboot"
Additional information
No response