#include <Tlc5940.h>
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. | |
1.5.6