Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hubmartin/ws2812b_stm32l083cz

Updated driver for STM32 Low power line of MCUs
https://github.com/hubmartin/ws2812b_stm32l083cz

Last synced: 3 months ago
JSON representation

Updated driver for STM32 Low power line of MCUs

Awesome Lists containing this project

README

        

# WS2812B_STM32L083CZ
Updated driver for STM32 Low power line of MCUs

**See my other repositories for F3 and F4 port.**

There is also documentation how to use this lib.
Other libraries are bit different and use DMA > GPIO writes.
This lib is using PWM because L0 dont have DMA->GPIO capability.
So instead of writing DMA to the GPIO I write one byte to the compare register and I'm changing the duty cycle of the PWM each PWM cycle. The DMA is triggered by the same timer generating output bits by the UP event.