Neopixel.cpp works with 2.0 but not 3.1

Status
Not open for further replies.

heliboy

Active member
I have been using the adafruit neopixel library (strandtest example). If the board is set to teensy 2.0 it compiles (1.0.5-r2) fine and works. BUT if the board is set to teensy 3.1 it spits out a whole bunch of errors about ..Neopixel.cpp. Anybody know what this is about ?
 
Follow up comment. Works fine with octoWS2811 library so the hell with the Adafruit neopixel library.
 
Are you using Teensyduino 1.18?

I just tried it here. Compiles without any error.

neopixel.png
 
Note, Adafruit added the Teensy 3.1 support about 3 months ago, so make sure you have the latest version from adafruit and as Paul says the full 1.18 release. If you look in the Adafruit_Neopixel.cpp file, you should see the following around lines 665:

Code:
#elif defined(__arm__)

#if defined(__MK20DX128__) || defined(__MK20DX256__) // Teensy 3.0 & 3.1
 
Status
Not open for further replies.
Back
Top