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
|
||||
.vscode
|
||||
vscode.code-workspace
|
||||
.idea
|
||||
|
||||
# Object files
|
||||
*.o
|
||||
|
|
|
@ -33,6 +33,8 @@ local function ws2812_conf()
|
|||
return "pin",2,0,10,10,0 --此为pin方式直驱
|
||||
elseif rtos_bsp == "ESP32S3" then
|
||||
return "pin",2,0,10,10,0 --此为pin方式直驱
|
||||
elseif rtos_bsp == "EC618" then
|
||||
return "spi",0 --air780e 只能通过spi方式驱动
|
||||
else
|
||||
log.info("main", "bsp not support")
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue
Block a user