Files
NodeMCU_Lua/LED_RGB_WS2812/guirlandes noël/boot.lua
Christian Zufferey e5f140f0c1 Pleins d'ajouts ;-)
* Ajouté le dossier zpackage contenant tout ce qu'il faut pour bien débuter un nouveau projet NodeMCU
* Ajouté un dossier, générateur de signaux pour le workshop sur l'oscilloscope
* Rangé le dossier genefunc
* Ajouté le dossier AD9833 pour commencer à travailler avec le module générateur de fonction AD9833
2019-05-05 11:27:42 +02:00

29 lines
901 B
Lua

-- Scripts à charger après le boot pour démarrer son appli
print("\n boot.lua zf190428.1823 \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_stop.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= "az_init_led.lua" if file.exists(f) then dofile(f) end
--f= "webleds.lua" if file.exists(f) then dofile(f) end
f= "a_guirlande.lua" if file.exists(f) then dofile(f) end
heartbeat()