Tlc5940 Class Reference

The main Tlc5940 class for the entire library. More...

#include <Tlc5940.h>

List of all members.

Public Member Functions

void init (uint16_t initialValue=0)
 Pin i/o and Timer setup.
void clear (void)
 Clears the grayscale data array, tlc_GSData, but does not shift in any data.
uint8_t update (void)
 Shifts in the data from the grayscale data array, tlc_GSData.
void set (TLC_CHANNEL_TYPE channel, uint16_t value)
 Sets channel to value in the grayscale data array, tlc_GSData.
uint16_t get (TLC_CHANNEL_TYPE channel)
 Gets the current grayscale value for a channel.
void setAll (uint16_t value)
 Sets all channels to value.
void setAllDC (uint8_t value)
 Sets the dot correction for all channels to value.
uint8_t readXERR (void)
 Checks for shorted/broken LEDs reported by any of the TLCs.


Detailed Description

The main Tlc5940 class for the entire library.

An instance of this class will be preinstantiated as Tlc.


The documentation for this class was generated from the following files:

Generated on Thu May 7 01:17:13 2009 for Arduino Tlc5940 Library by  doxygen 1.5.8