debug output
This commit is contained in:
parent
fa8b27b4f9
commit
85f8015c2f
@ -126,6 +126,8 @@ class MeterbusSerial(object):
|
||||
while (state not in [MeterbusResponseStates.DONE, MeterbusResponseStates.ERROR]):
|
||||
c = port.read()
|
||||
|
||||
print("State {}, Octet {}".format(state, c))
|
||||
|
||||
if state == MeterbusResponseStates.START1:
|
||||
if c == 0x68:
|
||||
frameData.append(c)
|
||||
|
Loading…
x
Reference in New Issue
Block a user