1"""
2Reset script for the cc3200 boards
3This is needed to force the board to reboot
4with the default WLAN AP settings
5"""
6
7from machine import WDT
8import time
9import os
10
11mch = os.uname().machine
12if not "LaunchPad" in mch and not "WiPy" in mch:
13    raise Exception("Board not supported!")
14
15wdt = WDT(timeout=1000)
16print(wdt)
17time.sleep_ms(900)
18