LUA點亮板載LED Blink程序

D1 MINI 引腳圖 https://wiki.wemos.cc/products:d1:d1_mini D4 引腳 Lua文件: LED = 4 gpio.mode(LED,gpio.OUTPUT) gpio.write(LED,gpio.HIGH) COUNTER = 0 tmr.alarm(0,1000,1,function( ) if COUNTER % 2 == 0 then COUN
相關文章
相關標籤/搜索