wasp-os/wasp/main.py
Daniel Thompson c7e11d6020 wasp: Adopt a low power mode shortly after booting
This is useful for battery run-down testing and so on.
2020-02-01 20:20:30 +00:00

5 lines
51 B
Python

import machine
while True
machine.deepsleep()