Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
Ori71e2 committed Dec 3, 2022
1 parent fa1e444 commit ee06965
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@ ws2812在stm32平台上的运行代码

# 注意事项
本代码只在stm32f103c8t6运行;
要注意堆栈溢出问题,若灯珠数量多需要在startup文件中修改Heap_Size及Stack_Size,否则程序会跑飞。
要注意堆栈溢出问题,若灯珠数量多需要在startup文件中修改Heap_Size及Stack_Size,否则程序会跑飞。
本电路连接,pwm信号输出为GPIOB6端口。
ws2812灯串连接时,其电源正极要单独供电,负极要和stm32板子负极共地,如若ws2812灯串无法用stm32正极带动起来。
我是用手机充电器引出正负极,正极连接灯串,负极与stm32共地。

0 comments on commit ee06965

Please sign in to comment.