# get the whole chunk of packets (from START to STOP).
def decode(self, ss, es, data):
- cmd, databyte, ack_bit = data
+ cmd, databyte = data
# Add the I2C packet to our local cache.
- self.packets += [[ss, es, data]]
+ self.packets.append([ss, es, data])
if cmd in ('ADDRESS READ', 'ADDRESS WRITE'):
# print(hex(databyte))