Super bien avancé sur la démo du chapeau, good job

* il y a maintenant un petit serveur WEB qui permet de modifier certains paramètres de l'effet lumineux
This commit is contained in:
Christian Zufferey
2018-12-05 20:51:10 +01:00
parent 3bc69ea3a3
commit cb81ed2a22
14 changed files with 309 additions and 194 deletions
+13 -8
View File
@@ -1,6 +1,15 @@
-- Scripts à charger après le boot pour démarrer son appli
print("\n boot.lua zf181204.2059 \n")
print("\n boot.lua zf181205.2048 \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_stop.lua" if file.exists(f) then dofile(f) end
--f= "wifi_cli_conf.lua" if file.exists(f) then dofile(f) end
@@ -8,16 +17,12 @@ print("\n boot.lua zf181204.2059 \n")
--f= "telnet_srv.lua" if file.exists(f) then dofile(f) end
--f= "web_ide2.lua" if file.exists(f) then dofile(f) end
f= "az_init_led.lua" if file.exists(f) then dofile(f) end
f= "wifi_cli_start.lua" if file.exists(f) then dofile(f) end
f= "webleds.lua" if file.exists(f) then dofile(f) end
f= "a_train3.lua" if file.exists(f) then dofile(f) end
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)