desc = 'RGB LED string protocol (RGB values clocked over SPI).'
license = 'gplv2+'
inputs = ['spi']
- outputs = ['rgb_led_spi']
+ outputs = []
+ tags = ['Display']
annotations = (
- ('rgb', 'RGB values'),
+ ('rgb', 'RGB value'),
)
def __init__(self):
+ self.reset()
+
+ def reset(self):
self.ss_cmd, self.es_cmd = 0, 0
self.mosi_bytes = []