}
class Decoder(srd.Decoder):
- api_version = 2
+ api_version = 3
id = 'mxc6225xu'
name = 'MXC6225XU'
longname = 'MEMSIC MXC6225XU'
license = 'gplv2+'
inputs = ['i2c']
outputs = ['mxc6225xu']
+ tags = ['IC', 'Sensor']
annotations = (
('text', 'Human-readable text'),
)
def __init__(self):
+ self.reset()
+
+ def reset(self):
self.state = 'IDLE'
def start(self):