6 # configure the serial connections (the parameters differs on the device you are connecting to)
8 ser.port = '/dev/ttyACM0'
10 ser.parity = serial.PARITY_NONE
11 ser.stopbits = serial.STOPBITS_ONE
12 ser.bytesize = serial.EIGHTBITS
18 print 'Connected, configuring...'
26 print 'Starting read loop...'
32 print "error open serial port: " + str(e)