Files
NodeMCU_Lua/ZYX-html-framework/restart.lua
2019-01-26 18:02:44 +01:00

13 lines
216 B
Lua

-- Scripts pour faire un soft reset
print("\n restart.lua zf181209.1753 \n")
restarttimer1=tmr.create()
tmr.alarm(restarttimer1, 2*1000, tmr.ALARM_SINGLE, function()
node.restart()
end)
print("hello zuzu")