This commit is contained in:
Wolfgang Hottgenroth 2020-08-29 17:43:30 +02:00
parent aab02ca10b
commit 1b03a1187e
Signed by: wn
GPG Key ID: B586EAFCDF2F65F4

View File

@ -151,7 +151,8 @@ class MeterbusSerial(object):
c = self.port.read(1)
if len(c) == 0:
state = MeterbusResponseStates.TIMEOUT
continue;
continue
c = ord(c)
print("State {}, Octet 0x{:02X}".format(state, c))