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:
Jeff-Haas 2017-04-13 23:21:34 -07:00
parent 181ae1de8f
commit 53fa214547
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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),