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 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.
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.