license = 'gplv2+'
inputs = ['spi']
outputs = ['rfm12']
+ tags = ['Wireless/RF']
annotations = (
('cmd', 'Command'),
('params', 'Command parameters'),
)
def __init__(self):
+ self.reset()
+
+ def reset(self):
self.mosi_bytes, self.miso_bytes = [], []
self.mosi_bits, self.miso_bits = [], []
self.row_pos = [0, 0, 0]