micropython/tests/wipy/reset/reset.py

13 lines
209 B
Python
Raw Normal View History

2015-09-26 21:55:24 +01:00
'''
Reset script for the cc3200 boards
This is needed to force the board to reboot
with the default WLAN AP settings
'''
from pyb import WDT
import time
wdt = WDT(timeout=1000)
print(wdt)
time.sleep_ms(900)