Skip to content

Commit

Permalink
update demo main.lua. add air780e use w2182b config
Browse files Browse the repository at this point in the history
  • Loading branch information
liuqing committed Apr 19, 2023
1 parent 9cc4beb commit 65b3308
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*.pdf
.vscode
vscode.code-workspace
.idea

# Object files
*.o
Expand Down
2 changes: 2 additions & 0 deletions demo/ws2812/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 65b3308

Please sign in to comment.