Cela commence à marcher, il s'endore, se réveille, scan le réseau wifi et se rendort

This commit is contained in:
Christian Zufferey
2020-07-22 19:45:48 +02:00
parent 3e676db63d
commit 7394b7931e
4 changed files with 35 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
-- Scripts à charger après le boot pour démarrer son projet
function boot()
print("\n boot.lua zf200722.1536 \n")
print("\n boot.lua zf200722.1944 \n")
print("On lance le boot...")
collectgarbage() print(node.heap())
local f
@@ -18,6 +18,9 @@ function boot()
f = "0_dsleep2.lua" if file.exists(f) then dofile(f) end
print(node.heap()) collectgarbage() print(node.heap())
-- f = "0_wifi_scan.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())