}
annotations = [
# ANN_ASCII
- ["ASCII", "TODO: description"],
+ ['ASCII', 'TODO: description'],
# ANN_DEC
- ["Decimal", "TODO: description"],
+ ['Decimal', 'TODO: description'],
# ANN_HEX
- ["Hex", "TODO: description"],
+ ['Hex', 'TODO: description'],
# ANN_OCT
- ["Octal", "TODO: description"],
+ ['Octal', 'TODO: description'],
# ANN_BITS
- ["Bits", "TODO: description"],
+ ['Bits', 'TODO: description'],
]
def __init__(self, **kwargs):
self.put(self.samplenum, self.samplenum, self.out_ann,
[ANN_ASCII, ['Stop bit', 'Stop', 'P']])
- def decode(self, timeoffset, duration, data): # TODO
+ def decode(self, ss, es, data): # TODO
# for (samplenum, (rx, tx)) in data:
for (samplenum, (rx,)) in data: