1
0
Fork 0
wasp-os/wasp/boot.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

10 lines
163 B
Python

import logo
import watch
import time
# Splash screen
watch.display.rleblit(logo.pine64, fg=0xffff)
time.sleep(5)
watch.backlight.set(0)
watch.display.poweroff()