Cascaded led driver to write use write into leds[i] = 0x0 or 0xfff
Fork of TLC5940 by
Diff: TLC5940.h
- Revision:
- 3:367910365a97
- Parent:
- 2:ff6fc805f4ea
diff -r ff6fc805f4ea -r 367910365a97 TLC5940.h --- a/TLC5940.h Sat Mar 23 07:15:54 2013 +0000 +++ b/TLC5940.h Fri Apr 05 16:03:25 2013 +0000 @@ -3,4 +3,12 @@ void setup (SPI &driver, DigitalOut &vprg, DigitalOut &xlat, DigitalOut &blank, DigitalOut &dcprg, PwmOut &gsclk, int num_ics); void update_led (SPI &driver, DigitalOut &xlat, DigitalOut &blank, unsigned short* LEDS); -void clearall (void); \ No newline at end of file +void clearall (void); +void highall (void); +//ButtonLayout +//[01][02][03][04] +//[05][06][07][08] +//[09][10][11][12] +//[13][14][15][16] +void padpush (int k,int r, int g, int b); +