micropython/tests/wipy/reset/reset.py

13 lines
209 B
Python
Raw Normal View History

2015-09-27 04:55:24 +08: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)