Commencé la partie dsleep, mais cela ne marche pas encore :-(

This commit is contained in:
Christian Zufferey
2020-07-20 21:00:06 +02:00
parent 374e04bb61
commit 8b718295ac
4 changed files with 58 additions and 23 deletions

View File

@@ -1,15 +1,6 @@
-- Scripts pour régler l'horloge quand on est connecté en WIFI
print("\n set_time.lua zf181212.0841 \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= "dsleep.lua" if file.exists(f) then dofile(f) end
print("\n set_time.lua zf200720.2055 \n")
function set_time()
sntp.sync(nil, nil, nil, 1)