From tlc_progmem_utils.h:
From the Core Functions:
You can enable VPRG by changing
#define VPRG_ENABLED 0
#define VPRG_ENABLED 1
You will also have to connect Arduino digital pin 6 to TLC pin 27. (The pin to be used can be changed in tlc_config.h). If VPRG is not enabled, the TLC pin should grounded (remember to unconnect TLC pin 27 from GND if you do enable VPRG).
Functions | |
void | tlc_setDCfromProgmem (prog_uint8_t *dcArray) |
Sets the dot correction data from an array in progmem. |
void tlc_setDCfromProgmem | ( | prog_uint8_t * | dcArray | ) |
Sets the dot correction data from an array in progmem.
An example:
#include "tlc_progmem_utils.h" prog_uint8_t dcArray1[NUM_TLCS * 12] = { DC_QUARTET(32, 63, 32, 63), DC_QUARTET(32, 63, 32, 63), DC_QUARTET(32, 63, 32, 63), DC_QUARTET(32, 63, 32, 63), }; // sometime after Tlc.init() tlc_setDCfromProgmem(dcArray1);
The Format of the array is similar to tlc_GSData, the last channel of the last TLC is the first value in the array. In the example above, the first 32 is setting OUT15, and the last 63 is setting OUT0.
dcArray | A progmem array of dot correction data to be shifted out. |