yield(Sample(data[i:i+unitsize]))
class Decoder():
+ id = 'nunchuk'
name = 'Nunchuk'
longname = 'Nintendo Wii Nunchuk decoder'
desc = 'Decodes the Nintendo Wii Nunchuk I2C-based protocol.'
import sigrok
+sigrok.register(Decoder)
+
class Decoder():
id = 'spi'
- name = 'SPI Decoder'
+ name = 'SPI'
desc = '...desc...'
- longname = '...longname...'
+ longname = 'Serial Peripheral Interface (SPI) bus'
longdesc = '...longdesc...'
author = 'Gareth McMullin'
email = 'gareth@blacksphere.co.nz'
yield(Sample(data[i:i+unitsize]))
class Decoder():
+ id = 'transitioncounter'
name = 'Transition counter'
longname = '...'
desc = 'Counts rising/falling edges in the signal.'
import sigrok
+sigrok.register(Decoder)
+