Check out https://www.espruino.com/Reference#l_SPI_send4bit
The old way of doing neopixels on STM32 was:
SPI1.send4bit(leds, 0b0001, 0b0011); // send to the lights
and that's basically what still happens under the hood.
If you tried:
SPI1.send4bit(leds, 0b1110, 0b1100);
instead then it might invert everything for you.
© Espruino, powered by microcosm.
Report a problem