1""" 2wipy module test for the CC3200 based boards 3""" 4 5import os 6import wipy 7 8mch = os.uname().machine 9if not "LaunchPad" in mch and not "WiPy" in mch: 10 raise Exception("Board not supported!") 11 12print(wipy.heartbeat() == True) 13wipy.heartbeat(False) 14print(wipy.heartbeat() == False) 15wipy.heartbeat(True) 16print(wipy.heartbeat() == True) 17 18try: 19 wipy.heartbeat(True, 1) 20except: 21 print("Exception") 22