mirror of
https://github.com/PaulStoffregen/Tlc5940
synced 2025-06-27 10:27:48 +02:00
Updates for current Arduino IDE
Fixes bugs with AVR PROGMEM changes, introduced when Arduino IDE went to 1.6.x. See details at: https://github.com/arduino/Arduino/wiki/1.6-Frequently-Asked-Questions#errors-related-to-avr-progmem-changes
This commit is contained in:
parent
181ae1de8f
commit
53fa214547
@ -40,7 +40,7 @@ void loop()
|
|||||||
Plays an animation in the "background".
|
Plays an animation in the "background".
|
||||||
Don't call Tlc.update() while this is running.
|
Don't call Tlc.update() while this is running.
|
||||||
You can check if this is done with !tlc_onUpdateFinished */
|
You can check if this is done with !tlc_onUpdateFinished */
|
||||||
tlc_playAnimation(ani_arduino, ANI_ARDUINO_FRAMES, 3);
|
tlc_playAnimation(ani_arduino, ANI_ARDUINO_FRAMES, 3); // Default is 3
|
||||||
|
|
||||||
|
|
||||||
// If you don't want to do anything until it's finished, use:
|
// If you don't want to do anything until it's finished, use:
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
The pattern below will only work with 1 TLC. Copy + Paste the 4 lines
|
The pattern below will only work with 1 TLC. Copy + Paste the 4 lines
|
||||||
inside the curly brackets for each additional TLC. */
|
inside the curly brackets for each additional TLC. */
|
||||||
uint8_t gsArray1[NUM_TLCS * 24] PROGMEM = {
|
const uint8_t gsArray1[NUM_TLCS * 24] PROGMEM = {
|
||||||
GS_DUO((4095 * 16)/16, (4095 * 15)/16), GS_DUO((4095 * 14)/16, (4095 * 13)/16),
|
GS_DUO((4095 * 16)/16, (4095 * 15)/16), GS_DUO((4095 * 14)/16, (4095 * 13)/16),
|
||||||
GS_DUO((4095 * 12)/16, (4095 * 11)/16), GS_DUO((4095 * 10)/16, (4095 * 9)/16),
|
GS_DUO((4095 * 12)/16, (4095 * 11)/16), GS_DUO((4095 * 10)/16, (4095 * 9)/16),
|
||||||
GS_DUO((4095 * 8)/16, (4095 * 7)/16), GS_DUO((4095 * 6)/16, (4095 * 5)/16),
|
GS_DUO((4095 * 8)/16, (4095 * 7)/16), GS_DUO((4095 * 6)/16, (4095 * 5)/16),
|
Loading…
x
Reference in New Issue
Block a user