tutorial-extras/ws2812 #19
Replies: 3 comments 3 replies
-
这个就很棒棒的,亏我还找库 原来这就有解决方案! |
Beta Was this translation helpful? Give feedback.
-
/* */ #include <SPI.h> //https://arduino.luatos.com/library/SPI_2.html#%E4%BE%8B%E5%AD%90 //LED灯的个数 void setup(void) { //直接使用SPI1或SPI2或者SPI指定引脚,都无法使用 //初始化SPI // if (SPI2 != NULL) { delay(1000); }// 此处SPI2还未去了解是什么 |
Beta Was this translation helpful? Give feedback.
-
献上一个用NRST引脚点灯的代码
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
tutorial-extras/ws2812
简介 本章介绍使用Air001开发板驱动 WS2812 灯。 WS2812 是一个三色 LED 驱动芯片 (http://world-semi.com/ws2812-family/),一般集成在 LED 灯珠中。 它仅需一个 IO 传输数据,可通过多个 LED 串联传递信号,实现批量控制。 硬件准备 按☁️ Air001开发板入门 (/tutorial...
https://arduino.luatos.com/tutorial-extras/ws2812.html
Beta Was this translation helpful? Give feedback.
All reactions