STM32 WS2812 (NeoPixel RGB LED)

From Stm32World Wiki
Revision as of 17:46, 26 November 2020 by Lth (talk | contribs)
Jump to navigation Jump to search
STM32Dev WS2812B RGB LED.jpg

When developing the STM32Dev board a WS2812B RGB LED was including connected to the PC6 GPIO.

The WS2812B LED contains 3 LEDS: red, green and blue and each of these LEDS can be set at 256 different brightness levels. These levels are controlled with a bit stream running at 800 kHz and multiple LEDS (up to 1000-ish) can be chained after each other.


Library on Github

The library is available on Github:

https://github.com/lbthomsen/stm32-ws2812b