Dec-06-2017, 05:41 PM
I think your problem is here
http://pythonhosted.org/pyserial/shortin...l#readline
out = ser.read() for byte in out: print(byte)By default ser.read() function reads just 1 bytes of the port. You need to specify the total number of bytes you want to read before reading. read function take an argument, argument to specify number of bytes to read or use readlines().
out = ser.read(20) # make sure you have timeout set or it make block forever for byte in out: print(byte)See documentation for more details
http://pythonhosted.org/pyserial/shortin...l#readline