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

Dependents:   M5VelocityALLCODE

Fork of TLC5940 by Kartik Jangam

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers TLC5940.h Source File

TLC5940.h

00001 #include "mbed.h"
00002 
00003 
00004 void setup (SPI &driver, DigitalOut &vprg, DigitalOut &xlat, DigitalOut &blank, DigitalOut &dcprg, PwmOut &gsclk, int num_ics);
00005 void update_led (SPI &driver, DigitalOut &xlat, DigitalOut &blank, unsigned short* LEDS);
00006 void clearall (void);
00007 void highall (void);
00008 //ButtonLayout
00009 //[01][02][03][04]
00010 //[05][06][07][08]
00011 //[09][10][11][12]
00012 //[13][14][15][16]
00013 void padpush (int k,int r, int g, int b);
00014