Tlc5940 Class Reference

#include <Tlc5940.h>

List of all members.


Detailed Description

The main Tlc5940 class for the entire library.

An instance of this class will be preinstantiated as Tlc.

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.


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

Generated on Thu Mar 5 18:09:26 2009 for Arduino Tlc5940 Library by  doxygen 1.5.6