Commencé maintenant à gérer la mise en sleep et le réveil du NodeMCU

This commit is contained in:
Christian Zufferey
2020-07-22 15:47:32 +02:00
parent d9d92f34ba
commit 3e676db63d
6 changed files with 128 additions and 7 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.1132 \n")
print("\n boot.lua zf200722.1536 \n")
print("On lance le boot...")
collectgarbage() print(node.heap())
local f
@@ -16,6 +16,9 @@ function boot()
f = "set_time.lua" if file.exists(f) then dofile(f) end
print(node.heap()) collectgarbage() print(node.heap())
f = "0_dsleep2.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())