Just to add to this - to use send4bit for neopixels, you need hardware SPI. Software won't cut it even though it is available.
There is a software implementation that is used on the WioLTE, but it's pretty rough, gets thrown off by IRQs, and uses hard-coded timing that only runs at that device's clock speed - so isn't included in normal builds.
© Espruino, powered by microcosm.
Report a problem