def main(): global root ser = serialport.tserial() ser.config_comport() ser.ConnectPort(True) print('Done')
def init(top, gui, arg=None): global w, top_level, root w = gui top_level = top root = top print('Init TestComport(support)') global ser1 ser1 = serialport.tserial() #TestComport1.serialconfig['baudrate'], TestComport1.serialconfig['comport']) # start serial port instance
def init(top, gui, arg=None): global w, top_level, root w = gui top_level = top root = top print('Init TestComport(support)') global ser1 ser1 = serialport.tserial( ) #TestComport1.serialconfig['baudrate'], TestComport1.serialconfig['comport']) # start serial port instance