Hello! Long time lurker, first time poster.

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.

Have you tried using the latest FastLED 3.1 branch?
https://github.com/FastLED/FastLED/tree/FastLED3.1

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.

When you put the FastLED library in your arduino library folder did you rename it from FastLED-master to just FastLED ?

So, see where it is saying this:

#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.

(And yes, the problem you’re seeing is a 3.0 vs. 3.1 problem – this is why I have the library print out the version number while compiling :slight_smile:

You can enable verbose output in Arduino, and it’ll show you the paths it’s finding your libraries in. Might have more than one copy floating around.

Thanks everyone… I think I got it to work but then I ran up against the data voltage issue, which I’m hoping to remedy with the 74HCT245 chip.