Driver updates for varible length array.

This commit is contained in:
Benjamin Perseghetti
2022-06-08 14:13:14 -04:00
parent e41766256d
commit b158e23842
4 changed files with 37 additions and 16 deletions
+3 -3
View File
@@ -2,9 +2,9 @@
uint64 timestamp # time since system start (microseconds)
uint16 number_leds #total number of leds [0,1001]
uint8 offset_group #offset group (multiple of 13) of leds to control [0,77]
uint32[13] led_values #follows spi 32 bit LED schema for apa102
uint16 number_leds #total number of leds [0,1000]
uint8 offset_group #offset group (multiple of 10) of leds to control [0,100]
uint32[10] led_values #follows spi 32 bit LED schema for apa102
# [ PAD 1's ][ BRIGHT 0:31 ][ BLU 0:255 ][ GRN 0:255 ][ RED 0:255 ]
# [ 31 ... 29 ][ 28 ... 24 ][ 23 ... 16 ][ 15 ... 8 ][ 7 ... 0 ]