ws2812b
ws2812b copied to clipboard
Color instability for ws2812B leds on RPI4B
Version
1.0.0
Describe the bug
On Raspbery Pi 4b modified code to flicker in a 500 cycle loop from default color (RED) to none (color 0x00) with 8ms delay . Most of the times color goes from red to turned off, but sometimes all leds shine white color for some cycles and then go back to switching between red and off.
https://user-images.githubusercontent.com/594470/234815505-7c77be63-03a9-4016-aca1-a3e88367b4fc.mp4
Tried to play with SPI speed and one_code / zero_code values without any significant improvement.
Reproduce
App executed using following command:
ws2812b -e write --number 24
Expected behavior
Stable flickering between RED and turning off
Additional context
No response