I have successfully ported the Adafruit_Pixie-library for their 3W-serial LEDs, not to be confused with the ‘Pixy’-camera, also distributed and librarised by Adafruit, simply by adding the spurrious sniplet:
#if defined(ARDUINO) && ARDUINO >= 100 #include "Arduino.h" #elif defined(PARTICLE) #include "application.h" #endif
Spurious, because a) discussion here is endless, and b: I swapped ‘SPARK’ to ‘PARTICLE’.
Anyway: This library works right out of the box. My opinion is, it can be safely added to the official pool.
Those LEDs are simply great.