Neopixels can be driven by SPI hardware, as Espruino has always done. You just need the clock speed to be about right, and then you can send the pulses as a series of 0b0011 and 0b001 nibbles that get clocked out.
The good thing with that is it gives you enough headroom to decode Espruino's array structures. To use Adafruit's method you'll have to decode the arrays into a flat area of memory and then feed through that...
Rather than adding a hack just for flashy lights on ESP8266, if hardware SPI was working it'd make ESP8266 a whole lot more faster for all kinds of things and all the existing tutorials for WS2811 should 'just work'.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Neopixels can be driven by SPI hardware, as Espruino has always done. You just need the clock speed to be about right, and then you can send the pulses as a series of
0b0011
and0b001
nibbles that get clocked out.The good thing with that is it gives you enough headroom to decode Espruino's array structures. To use Adafruit's method you'll have to decode the arrays into a flat area of memory and then feed through that...
Rather than adding a hack just for flashy lights on ESP8266, if hardware SPI was working it'd make ESP8266 a whole lot more faster for all kinds of things and all the existing tutorials for WS2811 should 'just work'.