I think the mention of r/g/b in the struct for nRF52 is a red herring. It just takes sets of 3 bytes and pushes them out in order. Depending on what pixels you use red may not actually contain the bytes for red.
It's another reason why it'd be nice to create just a simple, single bit of code for creating neopixel bit patterns that got shared across all devices.
© Espruino, powered by microcosm.
Report a problem