1
0
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:
liuqing 2023-04-19 16:54:04 +08:00
parent 9cc4bebbae
commit 65b33083c4
2 changed files with 3 additions and 0 deletions

1
.gitignore vendored
View File

@ -5,6 +5,7 @@
*.pdf *.pdf
.vscode .vscode
vscode.code-workspace vscode.code-workspace
.idea
# Object files # Object files
*.o *.o

View File

@ -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