#include <avr/interrupt.h>
#include "Tlc5940.h"
#include "WProgram.h"
Go to the source code of this file.
Classes | |
struct | Tlc_Fade |
Data for a single fade. More... | |
Defines | |
#define | TLC_FADE_BUFFER_LENGTH 24 |
The default fade buffer length (24). | |
Functions | |
uint8_t | tlc_updateFades () |
Updates fades using millis(). | |
uint8_t | tlc_updateFades (uint32_t currentMillis) |
Updates any running fades. | |
uint8_t | tlc_addFade (struct Tlc_Fade *fade) |
Adds a fade to the buffer. | |
uint8_t | tlc_addFade (TLC_CHANNEL_TYPE channel, int16_t startValue, int16_t endValue, uint32_t startMillis, uint32_t endMillis) |
Adds a fade to the fade buffer. | |
uint8_t | tlc_isFading (TLC_CHANNEL_TYPE channel) |
Checks to see if any fades are happening on channel. | |
uint8_t | tlc_removeFades (TLC_CHANNEL_TYPE channel) |
Removes any fades from the fade buffer on this channel. | |
Variables | |
struct Tlc_Fade | tlc_fadeBuffer [TLC_FADE_BUFFER_LENGTH] |
Data for a single fade. | |
uint8_t | tlc_fadeBufferSize |
The current fade buffer size. |
#define TLC_FADE_BUFFER_LENGTH 24 |
The default fade buffer length (24).
Uses 24*13 = 312 bytes of ram.