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

Dependents:   M5VelocityALLCODE

Fork of TLC5940 by Kartik Jangam

TLC5940.h

Committer:
Mach5
Date:
2013-04-05
Revision:
3:367910365a97
Parent:
2:ff6fc805f4ea

File content as of revision 3:367910365a97:

#include "mbed.h"


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);
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);