These play animations from PROGMEM.
#include <avr/pgmspace.h>
#include <avr/io.h>
#include "tlc_config.h"
#include "Tlc5940.h"
#include "tlc_progmem_utils.h"
Go to the source code of this file.
| Functions | |
| volatile void | tlc_animationXLATCallback (void) | 
| This is called by the XLAT interrupt every PWM period to do stuff. | |
| void | tlc_playAnimation (prog_uint8_t *animation, uint16_t frames, uint16_t periodsPerFrame) | 
| Plays an animation from progmem in the "background" (with interrupts). | |
| Variables | |
| prog_uint8_t * | tlc_currentAnimation | 
| The currently playing animation. | |
| volatile uint16_t | tlc_animationFrames | 
| The number of frames in the current animation. | |
| volatile uint16_t | tlc_animationPeriodsPerFrame | 
| The number of PWM periods to display each frame - 1. | |
| volatile uint16_t | tlc_animationPeriodsWait | 
| The current number of periods we've displayed this frame for. | |
 1.5.6
 1.5.6