mirror of
https://gitee.com/openLuat/LuatOS
synced 2025-08-17 22:18:03 +08:00
update demo main.lua. add air780e use w2182b config
This commit is contained in:
parent
9cc4bebbae
commit
65b33083c4
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -5,6 +5,7 @@
|
||||||
*.pdf
|
*.pdf
|
||||||
.vscode
|
.vscode
|
||||||
vscode.code-workspace
|
vscode.code-workspace
|
||||||
|
.idea
|
||||||
|
|
||||||
# Object files
|
# Object files
|
||||||
*.o
|
*.o
|
||||||
|
|
|
@ -33,6 +33,8 @@ local function ws2812_conf()
|
||||||
return "pin",2,0,10,10,0 --此为pin方式直驱
|
return "pin",2,0,10,10,0 --此为pin方式直驱
|
||||||
elseif rtos_bsp == "ESP32S3" then
|
elseif rtos_bsp == "ESP32S3" then
|
||||||
return "pin",2,0,10,10,0 --此为pin方式直驱
|
return "pin",2,0,10,10,0 --此为pin方式直驱
|
||||||
|
elseif rtos_bsp == "EC618" then
|
||||||
|
return "spi",0 --air780e 只能通过spi方式驱动
|
||||||
else
|
else
|
||||||
log.info("main", "bsp not support")
|
log.info("main", "bsp not support")
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue
Block a user