# anlaim/ws2812b_with_STM32

> Here is my code controlling the ws2812b/apa-106 LEDs with a STM32F103C8T6. This code utilizes Timer 2 channel 3 and DMA1 channel 1. Timer 2 has a period of 29. In order to send the data we load a ledBuffer array with values of 17 or 9. These values calculate the duty cycle. 17 = on 9 = off.  This code is a port of this code: https://github.com/devthrash/0xWS2812.

- **Canonical URL**: https://githubrepo.cloud/repo/anlaim/ws2812b_with_STM32
- **GitHub Repository**: https://github.com/anlaim/ws2812b_with_STM32
- **Maintainer / Creator**: https://github.com/anlaim
- **Discovered On**: Nov 2, 2026

---
*Indexed by GitHubRepo (https://githubrepo.cloud). Real-time open-source discovery & telemetry.*
