I have a first-pass of the technobly library this is based off of running RGBWstrandtest.ino using the pinSetFast() and pinResetFast() changes recommended elsewhere. No guarantees that I got all the color ordering correct – this is a machete hack not anything ready for a pull request yet – but it should work.
instantiate with:
Adafruit_NeoPixel strip = Adafruit_NeoPixel(NUM_LEDS, PIN, SK6812RGBW);
library changes:
neopixel.cpp
/*-------------------------------------------------------------------------
Spark Core, Photon, P1 and Electron library to control WS2811/WS2812 based RGB
LED devices such as Adafruit NeoPixel strips.
Currently handles 800 KHz and 400kHz bitstream on Spark Core and Photon,
WS2812, WS2812B and WS2811.
Also supports:
- Radio Shack Tri-Color Strip with TM1803 controller 400kHz bitstream.
- TM1829 pixels
This file has been truncated. show original
neopixel.h
/*-------------------------------------------------------------------------
Spark Core, Photon, P1 and Electron library to control WS2811/WS2812 based RGB
LED devices such as Adafruit NeoPixel strips.
Currently handles 800 KHz and 400kHz bitstream on Spark Core and Photon,
WS2812, WS2812B and WS2811.
Also supports:
- Radio Shack Tri-Color Strip with TM1803 controller 400kHz bitstream.
- TM1829 pixels
This file has been truncated. show original
Feel free to grab the code / send me feedback at jstockdale@gmail.com