Commence sérieusement à bosser sur mon pico framework HTML en LUA

This commit is contained in:
Christian Zufferey
2019-01-26 16:42:17 +01:00
parent 691c7c3804
commit 70b39e25b3
23 changed files with 805 additions and 11 deletions

12
zyx-framework/restart.lua Normal file
View File

@@ -0,0 +1,12 @@
-- 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")