desc = 'Miller encoding protocol.'
license = 'gplv2+'
inputs = ['logic']
- outputs = ['miller']
+ outputs = []
+ tags = ['Encoding']
channels = (
{'id': 'data', 'name': 'Data', 'desc': 'Data signal'},
)
('bit', 'Bit'),
('bitstring', 'Bitstring'),
)
- annotation_rows = tuple((u, v, (i,)) for i, (u, v) in enumerate(annotations))
+ annotation_rows = tuple((u + 's', v + 's', (i,)) for i, (u, v) in enumerate(annotations))
binary = (
('raw', 'Raw binary'),
)
def __init__(self):
+ self.reset()
+
+ def reset(self):
self.samplerate = None
def metadata(self, key, value):