I am looking to use a strip of WS2811 addressable LEDs on the robot, which I have successfully programmed on an Arduino at home, but have not yet attempted to drive via the roboRio. The wpilibj spec specifies the WS2812 chip instead. Has anyone had success with WS2811’s and if so, are there specific Bit Timings and Sync Time changes required to get it working vs the default values?
By default, the timings are set for WS2812, but you can adjust the timings with setBitTiming
and setSyncTime
.
Addressable LED strips are not well specified and have large timing variations between manufacturers or even builds. It may work out of the box, or you may need to tweak things until they work.
1 Like