Updates for current Arduino IDE

Fixes bugs with AVR PROGMEM changes in Arduino IDE 1.6 or later.  Tested
with Arduino 1.8.2 and Sparkfun TLC5940 breakout.  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:01:06 -07:00
parent 87051f1118
commit 89d8a53ddf
3 changed files with 17 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
#define ANI_ARDUINO_FRAMES 80
uint8_t ani_arduino[NUM_TLCS * 24 * ANI_ARDUINO_FRAMES] PROGMEM = {
const uint8_t ani_arduino[NUM_TLCS * 24 * ANI_ARDUINO_FRAMES] PROGMEM = {
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,6,176,206,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,65,10,64,247,15,240,255,
0,0,0,0,0,0,0,0,0,0,0,0,1,160,122,13,192,255,15,240,254,11,192,89,