Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hubmartin/ws2812b_stm32l083cz
- Owner: hubmartin
- License: mit
- Created: 2016-10-20T19:12:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-07-08T03:54:59.000Z (over 4 years ago)
- Last Synced: 2024-10-13T02:14:18.500Z (4 months ago)
- Language: C
- Size: 12 MB
- Stars: 5
- Watchers: 3
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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.