I have a 4x4 matrix useing the TLC5940 chip and lib from aclone
problem i have i am trying to play animations but im lost on how to get the animations to play. i have create the frames for the animations but from reading the lib docs it looks like the function plays them in reverse but it looks nothing like it should on the leds.
Im going to post what i have and see if anyone can help me out
if (!tlc_onUpdateFinished) {
delay(100);
tlc_playAnimation(rayGun, RAY_GUN_FRAMES, 250);
}
#define RAY_GUN_FRAMES 20
uint8_t rayGun[NUM_TLCS * 24 * RAY_GUN_FRAMES] PROGMEM = {
0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,255,0,0,0,255,255,0,0,0,0,0,0,0,0,
0,255,0,0,0,255,0,0,0,255,255,255,0,0,0,0,
255,0,0,0,255,0,0,0,255,0,0,0,255,255,255,255,
0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,255,0,0,0,255,255,0,0,0,0,0,0,0,0,
0,255,0,0,0,255,0,0,0,255,255,255,0,0,0,0,
255,0,0,0,255,0,0,0,255,0,0,0,255,255,255,255,
0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,255,0,0,0,255,255,0,0,0,0,0,0,0,0,
0,255,0,0,0,255,0,0,0,255,255,255,0,0,0,0,
255,0,0,0,255,0,0,0,255,0,0,0,255,255,255,255,
0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,255,0,0,0,255,255,0,0,0,0,0,0,0,0,
0,255,0,0,0,255,0,0,0,255,255,255,0,0,0,0,
255,0,0,0,255,0,0,0,255,0,0,0,255,255,255,255,
0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,255,0,0,0,255,255,0,0,0,0,0,0,0,0,
0,255,0,0,0,255,0,0,0,255,255,255,0,0,0,0,
255,0,0,0,255,0,0,0,255,0,0,0,255,255,255,255
};