Dec-07-2017, 07:34 AM
Thanks a lot for the reply!
Unofrtunately still don't work, I had tried to insert the parity paramenter on my project but without success.....
Unofrtunately still don't work, I had tried to insert the parity paramenter on my project but without success.....
from binascii import unhexlify import serial stringa = "F5010001010008FC" port = "COM1" ser = serial.Serial(port,9600,timeout=0.5) ser.PARITY_EVEN = 'E' stringa_byte = unhexlify(stringa) ser.write(stringa_byte) out = ser.read(20) for byte in out: print(byte)Now I don't know what to try