license = 'gplv2+'
inputs = ['i2c']
outputs = [] # TODO: Only known at run-time.
+ tags = ['Util']
def __init__(self):
+ self.reset()
+
+ def reset(self):
self.packets = [] # Local cache of I²C packets
self.slaves = [] # List of known slave addresses
self.stream = -1 # Current output stream