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,7 +1,7 @@
-- Scripts à charger après le boot pour démarrer son projet
function boot()
print("\n boot.lua zf200720.1828 \n")
print("\n boot.lua zf200720.2055 \n")
print("On lance le boot...")
collectgarbage() print(node.heap())
local f
@@ -13,6 +13,12 @@ function boot()
-- zarg_boot=zarg_boot.."energy,value=boot_reason_"..yellow_id.." val="..boot_reason
-- http_post(influxdb_url,zarg_boot)
f = "set_time.lua" if file.exists(f) then dofile(f) end
print(node.heap()) collectgarbage() print(node.heap())
f = "flash_led_xfois.lua" if file.exists(f) then dofile(f) end
print(node.heap()) collectgarbage() print(node.heap())
-- f = "0_zdyndns.lua" if file.exists(f) then dofile(f) end
-- print(node.heap()) collectgarbage() print(node.heap())