reverted sleep.md

This commit is contained in:
gijsio
2020-11-24 16:06:37 +01:00
committed by GitHub
parent d80eaf11f7
commit 9105affe5a

View File

@@ -46,5 +46,6 @@ py.setup_int_wake_up(True, True)
acc.enable_activity_interrupt(2000, 200)
# go to sleep for 5 minutes maximum if no accelerometer interrupt happens
machine.deepsleep(5*60*1000)
```
py.setup_sleep(300)
py.go_to_sleep()
```