Difference between revisions of "STM32 WS2812 (NeoPixel RGB LED)"

From Stm32World Wiki
Jump to navigation Jump to search
Line 2: Line 2:
 
[[File:STM32Dev WS2812B RGB LED.jpg|thumb]]
 
[[File:STM32Dev WS2812B RGB LED.jpg|thumb]]
 
When developing the [[STM32Dev]] board a [[WS2812B]] RGB [[LED]] was including connected to the PC6 [[GPIO]].
 
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 ==
 
== Library on Github ==

Revision as of 17:46, 26 November 2020

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