Files
NodeMCU_Lua/LED_RGB_WS2812/chapeau_led/boot.lua
Christian Zufferey 7e956cf1d6 Refactorisé dossiers et écrit l'effet pour le chapeau
* l'effet train3 est le shift décalé de deux buffers avec mix des deux
* refactorisé encore une fois les dossiers de LED RGB
2018-12-04 21:01:11 +01:00

24 lines
718 B
Lua

-- Scripts à charger après le boot pour démarrer son appli
print("\n boot.lua zf181204.2059 \n")
--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
--f= "wifi_cli_start.lua" if file.exists(f) then dofile(f) end
--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= "a_train3.lua" if file.exists(f) then dofile(f) end
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)