Alysia Dynamik
Member
I am working on an LED project and I'm using code that references the FastLED library (got it from Adafruit). I have a Teensy 2.0 on my breadboard, and everything was going swimmingly til I tried to upload the same code (after switching to 3.0 in the drop-down) to a 3.0, which is all I have for this project at the moment. It is not compiling and giving me these errors:
If I go back to the drop-down and switch back to 2.0, it compiles fine. Not sure what's going on or how to troubleshoot it? Help!
Arduino: 1.6.5 (Windows 7), TD: 1.24, Board: "Teensy 3.0, Serial, 96 MHz (overclock), US English"
Using library FastLED in folder: C:\Users\Alysia\Documents\Arduino\libraries\FastLED (1.0.x format)
C:\Program Files (x86)\Arduino/hardware/tools/arm/bin/arm-none-eabi-g++ -c -Os -g -Wall -ffunction-sections -fdata-sections -MMD -nostdlib -fno-exceptions -felide-constructors -std=gnu++0x -fno-rtti -mthumb -mcpu=cortex-m4 -D__MK20DX128__ -DTEENSYDUINO=124 -DARDUINO=10605 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH -IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3 -IC:\Users\Alysia\Documents\Arduino\libraries\FastLED C:\Users\Alysia\AppData\Local\Temp\build3932117977441704667.tmp\Mode_Set_1.cpp -o C:\Users\Alysia\AppData\Local\Temp\build3932117977441704667.tmp\Mode_Set_1.cpp.o
In file included from Mode_Set_1.ino:1:0:
C:\Users\Alysia\Documents\Arduino\libraries\FastLED/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 C:\Users\Alysia\Documents\Arduino\libraries\FastLED/fastspi.h:50:0,
from C:\Users\Alysia\Documents\Arduino\libraries\FastLED/FastLED.h:31,
from Mode_Set_1.ino:1:
C:\Users\Alysia\Documents\Arduino\libraries\FastLED/fastspi_arm_k20.h: In member function 'void ARMHardwareSPIOutput<_DATA_PIN, _CLOCK_PIN, _SPI_CLOCK_DIVIDER, pSPIX>::init()':
C:\Users\Alysia\Documents\Arduino\libraries\FastLED/fastspi_arm_k20.h:194:24: error: 'SPI0' was not declared in this scope
if((SPI_t*)pSPIX == &SPI0) {
^
Error compiling.
If I go back to the drop-down and switch back to 2.0, it compiles fine. Not sure what's going on or how to troubleshoot it? Help!