PaulStoffregen / Tlc5940

16 channel PWM LED driver based on the Texas Instruments TLC5940 chip.
https://github.com/PaulStoffregen/Tlc5940
81 stars 40 forks source link

Two sketches do not compile under Arduino 1.8.2 #9

Closed Jeff-Haas closed 7 years ago

Jeff-Haas commented 7 years ago

These two sketches do not compile under the current version of the Arduino IDE: UsingProgmem BasicAnimations

Trying to compile either sketch gets these errors:

In file included from C:\Users\Jeff\Documents\Arduino\libraries\Tlc5940/tlc_animations.h:30:0,

                 from C:\Users\Jeff\Documents\Arduino\libraries\Tlc5940\examples\BasicAnimations\BasicAnimations.pde:19:

C:\Users\Jeff\Documents\Arduino\libraries\Tlc5940/tlc_progmem_utils.h:29:27: error: variable or field 'tlc_setGSfromProgmem' declared void

 void tlc_setGSfromProgmem(prog_uint8_t *gsArray);

                           ^

C:\Users\Jeff\Documents\Arduino\libraries\Tlc5940/tlc_progmem_utils.h:29:27: error: 'prog_uint8_t' was not declared in this scope

C:\Users\Jeff\Documents\Arduino\libraries\Tlc5940/tlc_progmem_utils.h:29:41: error: 'gsArray' was not declared in this scope

 void tlc_setGSfromProgmem(prog_uint8_t *gsArray);

                                         ^

C:\Users\Jeff\Documents\Arduino\libraries\Tlc5940/tlc_progmem_utils.h:65:27: error: variable or field 'tlc_setGSfromProgmem' declared void

 void tlc_setGSfromProgmem(prog_uint8_t *gsArray)

                           ^

C:\Users\Jeff\Documents\Arduino\libraries\Tlc5940/tlc_progmem_utils.h:65:27: error: 'prog_uint8_t' was not declared in this scope

C:\Users\Jeff\Documents\Arduino\libraries\Tlc5940/tlc_progmem_utils.h:65:41: error: 'gsArray' was not declared in this scope

 void tlc_setGSfromProgmem(prog_uint8_t *gsArray)

                                         ^

exit status 1
Error compiling for board Arduino Pro or Pro Mini.
Jeff-Haas commented 7 years ago

Hi,

You merged my pull request: https://github.com/PaulStoffregen/Tlc5940/pull/10 So it should be ready for release.

Jeff