This commit is contained in:
Wolfgang Hottgenroth 2020-08-29 12:52:16 +01:00
parent 1ecc18dfee
commit 6d7aaa3cb7

View File

@ -135,7 +135,7 @@ class MeterbusSerial(object):
print("Waiting for input ... ")
c = ord(self.port.read())
print("State {}, Octet {}".format(state, c))
print("State {}, Octet 0x{:02X}".format(state, c))
if state == MeterbusResponseStates.START1:
if c == 0x68: