Neopixel RGBW

Questions and discussion about running MicroPython on a micro:bit board.
Target audience: MicroPython users with a micro:bit.
rhubarbdog
Posts: 168
Joined: Tue Nov 07, 2017 11:45 pm

Re: Neopixel RGBW

Post by rhubarbdog » Sun Mar 31, 2019 4:57 am

Some of it was my bad. I had missed the call to `main()` from my python script.

Then microbit spi modes aren't as documented.

Trying other modes i get a valid response, but it's not glitch free. Especially when blanking all pixels

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: Neopixel RGBW

Post by Roberthh » Sun Mar 31, 2019 6:31 am

If you look at the data stream with a logic analyzer you will most likely see that there are gaps between the bytes. Once a gap is longer than ~60µs, it will be considered as a reset of the LED.

Post Reply