This commit is contained in:
yohan 2024-06-08 10:17:56 +02:00
parent 86c37fa5b1
commit dc0934bb97

View File

@ -75,7 +75,7 @@ if action != 'status':
#print ('Renvoie :\r\n' + bytes)
ser.write('?RLY\r\n'.encode('ascii'))
answer = ser.readline()
answer = ser.readline().decode('ascii')
status = ''
for char in answer:
if char in ['0', '1']: