Hello! Long time lurker, first time poster. Firstly, thank you to everyone for this discussion group. I am working on a jacket project using WS2812Bs and have been truly inspired, especially by Steve E. who I met on the playa a couple years ago. (Hi Steve!) All of you are great!
I have a few questions ready to go (particularly about power) and will post some more very soon, but a foundational issue is about the Teensy 3.1 … It seems I am unable to get code to compile for the Teensy that works for my Arduino Uno. I get this error message below. I know the Teensy works with other sketches, so I’m not sure what I’m missing. Thoughts? Thanks in advance!
Arduino: 1.6.5 (Mac OS X), TD: 1.24, Board: “Teensy 3.1, Serial, 96 MHz optimized (overclock), US English”
In file included from Noise.ino:6:0:
/Users/martyzorro/Documents/Arduino/libraries/FastLED-master/FastLED.h:11:2: warning: #warning FastLED version 3.000.002 (Not really a warning, just telling you here.) [-Wcpp] #warning FastLED version 3.000.002 (Not really a warning, just telling you here.)
^
In file included from /Users/martyzorro/Documents/Arduino/libraries/FastLED-master/fastspi.h:50:0,
from /Users/martyzorro/Documents/Arduino/libraries/FastLED-master/FastLED.h:31,
from Noise.ino:6:
/Users/martyzorro/Documents/Arduino/libraries/FastLED-master/fastspi_arm_k20.h: In member function ‘void ARMHardwareSPIOutput<_DATA_PIN, _CLOCK_PIN, _SPI_CLOCK_DIVIDER, pSPIX>::init()’:
/Users/martyzorro/Documents/Arduino/libraries/FastLED-master/fastspi_arm_k20.h:194:24: error: ‘SPI0’ was not declared in this scope
if((SPI_t*)pSPIX == &SPI0) {
^
Error compiling.
Yes, I still get the same error message, and I still don’t get the message when I’m using the Arduinio.
In file included from Noise.ino:6:0:
/Users/martyzorro/Documents/Arduino/libraries/FastLED-master/FastLED.h:11:2: warning: #warning FastLED version 3.000.002 (Not really a warning, just telling you here.) [-Wcpp] #warning FastLED version 3.000.002 (Not really a warning, just telling you here.)
^
In file included from /Users/martyzorro/Documents/Arduino/libraries/FastLED-master/fastspi.h:50:0,
from /Users/martyzorro/Documents/Arduino/libraries/FastLED-master/FastLED.h:31,
from Noise.ino:6:
/Users/martyzorro/Documents/Arduino/libraries/FastLED-master/fastspi_arm_k20.h: In member function ‘void ARMHardwareSPIOutput<_DATA_PIN, _CLOCK_PIN, _SPI_CLOCK_DIVIDER, pSPIX>::init()’:
/Users/martyzorro/Documents/Arduino/libraries/FastLED-master/fastspi_arm_k20.h:194:24: error: ‘SPI0’ was not declared in this scope
if((SPI_t*)pSPIX == &SPI0) {
^
Error compiling.
#warning FastLED version 3.000.002 (Not really a warning, just telling you here.)
That means that it is still using the master branch of FastLED - not the FastLED3.1 branch, if you had FastLED 3.1 you would see:
#warning FastLED version 3001000 (Not really a warning, just telling you here.)
Also - see this path in your output: /Users/martyzorro/Documents/Arduino/libraries/FastLED-master – make sure you don’t have multiple copies of the library running around.