Ajouté le projet Timetable à Alexandre et des scripts pour gérer le bouton
This commit is contained in:
32
Timetable/JLEB/boot.lua
Normal file
32
Timetable/JLEB/boot.lua
Normal file
@@ -0,0 +1,32 @@
|
||||
-- Scripts à charger après le boot pour démarrer son appli
|
||||
|
||||
print("\n boot.lua zf190227.1836 \n")
|
||||
|
||||
function heartbeat()
|
||||
f= "flash_led_xfois.lua" if file.exists(f) then dofile(f) end
|
||||
boottimer1=tmr.create()
|
||||
tmr.alarm(boottimer1, 1*1000, tmr.ALARM_AUTO, function()
|
||||
xfois =2
|
||||
blink_LED ()
|
||||
end)
|
||||
end
|
||||
|
||||
f= "wifi_ap_start.lua" if file.exists(f) then dofile(f) end
|
||||
f= "wifi_cli_conf.lua" if file.exists(f) then dofile(f) end
|
||||
f= "wifi_cli_start.lua" if file.exists(f) then dofile(f) end
|
||||
--f= "telnet_srv2.lua" if file.exists(f) then dofile(f) end
|
||||
f= "web_ide2.lua" if file.exists(f) then dofile(f) end
|
||||
--f= "web_srv2.lua" if file.exists(f) then dofile(f) end
|
||||
f= "set_time.lua" if file.exists(f) then dofile(f) end
|
||||
--f= "dsleep.lua" if file.exists(f) then dofile(f) end
|
||||
--f= "b.lua" if file.exists(f) then dofile(f) end
|
||||
f= "jled_rgb.lua" if file.exists(f) then dofile(f) end
|
||||
f= "diff_time.lua" if file.exists(f) then dofile(f) end
|
||||
|
||||
|
||||
|
||||
--heartbeat()
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user