Fixed code for simulation
This commit is contained in:
parent
890c84dfbd
commit
d1a67f1cb4
2
main.lua
2
main.lua
@ -155,7 +155,7 @@ function normalOperation()
|
|||||||
end
|
end
|
||||||
ws2812.write(rgbBuffer)
|
ws2812.write(rgbBuffer)
|
||||||
else
|
else
|
||||||
timer:unregister()
|
wifitimer:unregister()
|
||||||
wifitimer=nil
|
wifitimer=nil
|
||||||
connect_counter=nil
|
connect_counter=nil
|
||||||
print('IP: ',wifi.sta.getip(), " heap: ", node.heap())
|
print('IP: ',wifi.sta.getip(), " heap: ", node.heap())
|
||||||
|
Loading…
Reference in New Issue
Block a user