{"id":27637002,"url":"https://github.com/mootseeker/icled_stm32","last_synced_at":"2025-04-23T21:15:46.954Z","repository":{"id":288621218,"uuid":"968489962","full_name":"MootSeeker/ICLED_STM32","owner":"MootSeeker","description":"STM32 Library for WL-ICLED LED from Würth Elektronik unsing PWM and DMA","archived":false,"fork":false,"pushed_at":"2025-04-18T15:47:03.000Z","size":16694,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-23T21:15:41.556Z","etag":null,"topics":["c","demo","dma","driver","example","icled","pwm","pwm-driver","stm32","stm32l4","wurthelektronik"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MootSeeker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-18T07:08:17.000Z","updated_at":"2025-04-18T15:49:05.000Z","dependencies_parsed_at":"2025-04-20T11:46:39.418Z","dependency_job_id":null,"html_url":"https://github.com/MootSeeker/ICLED_STM32","commit_stats":null,"previous_names":["mootseeker/icled_stm32"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MootSeeker%2FICLED_STM32","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MootSeeker%2FICLED_STM32/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MootSeeker%2FICLED_STM32/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MootSeeker%2FICLED_STM32/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MootSeeker","download_url":"https://codeload.github.com/MootSeeker/ICLED_STM32/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250514777,"owners_count":21443219,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","demo","dma","driver","example","icled","pwm","pwm-driver","stm32","stm32l4","wurthelektronik"],"created_at":"2025-04-23T21:15:46.286Z","updated_at":"2025-04-23T21:15:46.949Z","avatar_url":"https://github.com/MootSeeker.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ✨ ICLED STM32 Library\n\nA **lightweight driver library for controlling Würth eiSos ICLED matrices using STM32 timers and DMA**.  \nThis project enables precise PWM-based LED control, ideal for **visual effects**, **matrix animations**, and **embedded lighting systems** on STM32 microcontrollers.\n\n[![forthebadge](https://forthebadge.com/images/badges/powered-by-coffee.svg)](https://forthebadge.com)  \n[![forthebadge](https://forthebadge.com/images/badges/made-with-c.svg)](https://forthebadge.com)  \n[![forthebadge](https://forthebadge.com/images/badges/open-source.svg)](https://forthebadge.com)  \n[![forthebadge](https://forthebadge.com/images/badges/license-mit.svg)](https://forthebadge.com)  \n\n---\n\n## 📌 Features\n\n- ✅ **DMA-based PWM output** using STM32 TIM1\n- 🎨 **24-bit GRB color control** per LED\n- 💡 **105 LEDs supported** out-of-the-box (configurable)\n- 🌀 Built-in **animations**:\n  - Knight Rider  \n  - Color Fade  \n  - Starfield  \n  - Snake pattern\n- ↻ **Effect switching** via GPIO interrupt\n- 💻 Fully documented with **Doxygen**\n- ⚙️ Works with STM32CubeIDE and HAL\n\n---\n\n# 🚀 Getting Started\n\n## 1️⃣ Clone the repository\n\n```bash\ngit clone https://github.com/MootSeeker/ICLED_STM32.git\n```\n\n## 2️⃣ Open in STM32CubeIDE\n\nImport the project as an existing STM32Cube project.\n\n## 3️⃣ Configure the hardware\n\n- Use Timer 1, Channel 1 (TIM1 CH1), mapped to PA8.\n- Make sure DMA is enabled for this timer channel in STM32CubeMX.\n- Ensure system clock is **32 MHz**\n\n## 4️⃣ Build and flash\n\nBuild the project and flash it to your STM32 board via ST-Link or DFU.\n\n## 5️⃣ Watch it glow! 🌈\n\nButton `S2` (on `GPIOB | GPIO_PIN_5`) cycles through the built-in effects.\n\n---\n\n## 📦 File Structure\n\n```text\nCore/\n├── Src/\n│   ├── icled.c             # LED driver logic\n├── Inc/\n│   ├── icled.h             # Public driver API\n\nExamples/\n├── example_app.c       # Demo effects \u0026 main animation handler\n├── example_app.h       # Effect function prototypes\n```\n\n---\n\n## 🔧 Hardware Requirements\n\n| Component         | Purpose                         |\n|------------------|----------------------------------|\n| STM32 MCU        | With Timer \u0026 DMA support         |\n| ICLED Matrix     | Würth eiSos 7x15 or similar      |\n| Button (e.g. S2) | Used to switch LED effects       |\n| 5V Power Supply  | Powers the LED matrix            |\n\n---\n\n## 🎨 Included Effects\n\n- `ICLED_NightRideDemo()` – Classic red dot scanner  \n- `ICLED_KnightRiderColorFade()` – Warm glowing red/orange trail  \n- `ICLED_StarfieldEffect()` – Cyan background with blinking stars  \n- `ICLED_SnakePattern()` – Snake movement with direction and length logic\n\n---\n\n## 📘️ Documentation\n\nThe entire library is documented with [**Doxygen**](https://www.doxygen.nl/).  \nGenerate docs using:\n\n```bash\ndoxygen Doxyfile\n```\n\n---\n\n## 🏆 License\n\nThis project is licensed under the **MIT License** – Use it, share it, improve it! ✌️  \nSee [LICENSE](https://github.com/MootSeeker/ICLED_STM32/blob/main/LICENSE) for details.\n\n---\n\n📢 **Questions or ideas?** Open an issue on  \n👉 [github.com/MootSeeker/ICLED_STM32](https://github.com/MootSeeker/ICLED_STM32)\n\nLet it shine! 💡\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmootseeker%2Ficled_stm32","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmootseeker%2Ficled_stm32","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmootseeker%2Ficled_stm32/lists"}