Cascaded led driver to write use write into leds[i] = 0x0 or 0xfff

Dependents:   M5VelocityALLCODE

Fork of TLC5940 by Kartik Jangam

Committer:
Mach5
Date:
Sat Mar 23 07:15:54 2013 +0000
Revision:
2:ff6fc805f4ea
Parent:
1:05d2234c0965
Child:
3:367910365a97
Cascaded LED driver TLC5940 with example

Who changed what in which revision?

UserRevisionLine numberNew 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 2:ff6fc805f4ea 6 void clearall (void);