Cascaded led driver to write use write into leds[i] = 0x0 or 0xfff
Fork of TLC5940 by
TLC5940.h@3:367910365a97, 2013-04-05 (annotated)
- Committer:
- Mach5
- Date:
- Fri Apr 05 16:03:25 2013 +0000
- Revision:
- 3:367910365a97
- Parent:
- 2:ff6fc805f4ea
projectcode
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
slisgrinder | 0:1fb7b50d16b1 | 1 | #include "mbed.h" |
slisgrinder | 0:1fb7b50d16b1 | 2 | |
slisgrinder | 0:1fb7b50d16b1 | 3 | |
slisgrinder | 1:05d2234c0965 | 4 | void setup (SPI &driver, DigitalOut &vprg, DigitalOut &xlat, DigitalOut &blank, DigitalOut &dcprg, PwmOut &gsclk, int num_ics); |
Mach5 | 2:ff6fc805f4ea | 5 | void update_led (SPI &driver, DigitalOut &xlat, DigitalOut &blank, unsigned short* LEDS); |
Mach5 | 3:367910365a97 | 6 | void clearall (void); |
Mach5 | 3:367910365a97 | 7 | void highall (void); |
Mach5 | 3:367910365a97 | 8 | //ButtonLayout |
Mach5 | 3:367910365a97 | 9 | //[01][02][03][04] |
Mach5 | 3:367910365a97 | 10 | //[05][06][07][08] |
Mach5 | 3:367910365a97 | 11 | //[09][10][11][12] |
Mach5 | 3:367910365a97 | 12 | //[13][14][15][16] |
Mach5 | 3:367910365a97 | 13 | void padpush (int k,int r, int g, int b); |
Mach5 | 3:367910365a97 | 14 |