Other

项目介绍

nimaltd/ws28xx 是一个托管在 GitHub 上的开源项目,主要使用 C 编写,采用 Other 许可证,目前获得 109 个 Star、10 次 Fork。

仓库全名
nimaltd/ws28xx
开源许可证
Other
Star 数
109
Fork 数
10
未关闭 Issue
2

README 摘要

WS28XX (WS2811,WS2812,WS2812B,WS2815) LED Series Library for STM32 (PWM + DMA) Please Do not Forget to get STAR, DONATE and support me on social networks. Thank you. :sparklingheart: Author: Nima Askari Github: https://www.github.com/NimaLTD Youtube: https://www.youtube.com/@nimaltd LinkedIn: https://www.linkedin.com/in/nimaltd Instagram: https://instagram.com/github.NimaLTD Install Library from…

完整内容见 GitHub 原始 README 或本页 。

常见问题

ws28xx 用什么语言开发?

主要使用 C 编写,采用 Other 许可证,目前有 109 个 Star。

ws28xx 可以免费商用吗?

仓库标注的许可证为 Other,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 ws28xx 的源码?

可以直接克隆仓库:git clone https://github.com/nimaltd/ws28xx.git,默认分支为 main;安装与运行步骤见仓库 README。

ws28xx 最近还在维护吗?

仓库最近一次更新为 10月3日,当前有 2 个未关闭 Issue;Star 数为 109,可作为社区活跃度的参考。

关于

ws28xx (ws2811, ws2812, ws2812b, ws2815, ...) Library for STM32 (PWM+DMA)

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

语言占比

C

Release

贡献者

README

WS28XX (WS2811,WS2812,WS2812B,WS2815) LED Series Library for STM32 (PWM + DMA)


Please Do not Forget to get STAR, DONATE and support me on social networks. Thank you. :sparkling_heart:



  • Install Library from https://github.com/nimaltd/STM32-PACK/raw/main/WS28XX/NimaLTD.I-CUBE-WS28XX.pdsc
  • Add and enable it.
  • Configure Bit Length and … .
  • Enable a TIMER with Internal clock and one channel PWM as default mode.
  • Enable DMA for PWM channel, set Direction Memory to Peripheral, select Increment Memory, set Memory Data Width to Byte, and set Peripheral Data Width to Half-Word.
  • Select ‘Generate peripheral initialization as a pair of .c/.h files per peripheral’ on the Code Generator Tab.
  • Generate Code.
  • Define a structure of WS28XX_HandleTypeDef.
  • Call WS28XX_Init() and enjoy.

Watch the Video:

Video

评论

暂无评论