Ajouté le projet Timetable à Alexandre et des scripts pour gérer le bouton
This commit is contained in:
12
Timetable/JLEB/restart.lua
Normal file
12
Timetable/JLEB/restart.lua
Normal 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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user