This is a bitbang library for WS2812. I test it with STM32F411RE (Nucleo 441RE). If you want to use another board, u need to adjust the sum of asm("nop"). In the example program i put some code to measure how many asm("nop") do we need. See more detail about WS2812 timing

Dependents:   STM32FC_RGB_WS2812

Download repository: zip gz

Files at revision 1:8910a1fcbdb0

Name Size Actions
WS2812.cpp 5399 Revisions Annotate
WS2812.h 506 Revisions Annotate