diff --git a/Mesures/humidity/bolo/0_cron.lua b/Mesures/humidity/bolo/0_cron.lua index 664d3bc..4ce97c3 100644 --- a/Mesures/humidity/bolo/0_cron.lua +++ b/Mesures/humidity/bolo/0_cron.lua @@ -1,13 +1,8 @@ -- Petit script pour faire office de crontab pour les --mesures -print("\n 0_cron.lua zf191220.2245 \n") - ---f= "flash_led_xfois.lua" if file.exists(f) then dofile(f) end ---flash_led_xfois() ---xfois =2 +print("\n 0_cron.lua zf191221.1556 \n") cron1=tmr.create() cron1:alarm(10*1000, tmr.ALARM_AUTO, function() --- blink_LED () send_data() end) diff --git a/Mesures/humidity/bolo/boot2.lua b/Mesures/humidity/bolo/boot2.lua index e2815ca..a0a20cd 100644 --- a/Mesures/humidity/bolo/boot2.lua +++ b/Mesures/humidity/bolo/boot2.lua @@ -1,6 +1,6 @@ -- Scripts à charger après le boot pour démarrer son projet -print("\n boot2.lua zf191221.1553 \n") +print("\n boot2.lua zf191221.1554 \n") function boot2() second_chance=nil initz=nil boot=nil zLED=nil @@ -8,13 +8,13 @@ function boot2() cli_ssid=nil cli_pwd=nil ap_ssid=nil ap_pwd=nil boot2_tmr1=nil wifi_init1=nil wifi_info=nil boot2_go=nil - --f= "secrets_project.lua" if file.exists(f) then dofile(f) end - --f= "set_time.lua" if file.exists(f) then dofile(f) end + f= "secrets_project.lua" if file.exists(f) then dofile(f) end + f= "set_time.lua" if file.exists(f) then dofile(f) end collectgarbage() - --f= "0_htu21d.lua" if file.exists(f) then dofile(f) end - --f= "0_send_data.lua" if file.exists(f) then dofile(f) end - --f= "0_cron.lua" if file.exists(f) then dofile(f) end - --f= "web_srv2.lua" if file.exists(f) then dofile(f) end + f= "0_htu21d.lua" if file.exists(f) then dofile(f) end + f= "0_send_data.lua" if file.exists(f) then dofile(f) end + f= "0_cron.lua" if file.exists(f) then dofile(f) end + f= "web_srv2.lua" if file.exists(f) then dofile(f) end --f= "web_ide2.lua" if file.exists(f) then dofile(f) end f=nil