wip
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Quelques commandes remote (luatool) à envoyer avec le plugin Atom-IDE-terminal de l'éditeur Atom
|
||||
# zf191214.1235
|
||||
# zf191216.2144
|
||||
|
||||
# si luatool ne marche pas sur le MAC, il faut lire ceci:
|
||||
# https://docs.google.com/document/d/1q64uK3IMOgEDdKaIAttbYuFt4GuLQ06k3FLeyfCsWLg/edit#heading=h.bmefcu67uwj0
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
-- Scripts à charger après le boot pour démarrer son projet
|
||||
|
||||
print("\n boot2.lua zf191124.1922 \n")
|
||||
print("\n boot2.lua zf191124.2124 \n")
|
||||
|
||||
function boot2()
|
||||
second_chance=nil initz=nil boot=nil
|
||||
@@ -27,7 +27,9 @@ function boot2()
|
||||
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= "b.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=nil
|
||||
@@ -36,7 +38,6 @@ function boot2()
|
||||
print("BOOOOUM, y'a plus de boot2 !")
|
||||
wifi_info=nil boot2=nil
|
||||
end)
|
||||
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
||||
BIN
Mesures/humidity/bolo/img/htu21d_on_NodeMCU.jpg
Normal file
BIN
Mesures/humidity/bolo/img/htu21d_on_NodeMCU.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 713 KiB |
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
# Petit script pour télécharger facilement tout le binz via le port série
|
||||
#zf191201.2323
|
||||
#zf191216.2139
|
||||
|
||||
# S'il y a des erreurs lors d'un téléchargement, il faut simplement augmenter un peu le délai !
|
||||
# Il est préférable de télécharger en premier les *gros* fichiers .lua !
|
||||
@@ -35,10 +35,11 @@ read -p "Est-ce bien vide ?"
|
||||
./luatool.py --port $luatool_tty --bar -f flash_led_xfois.lua
|
||||
./luatool.py --port $luatool_tty --bar -f dir2.lua
|
||||
./luatool.py --port $luatool_tty --bar -f cat.lua
|
||||
#./luatool.py --port $luatool_tty --bar -f c.lua
|
||||
./luatool.py --port $luatool_tty --bar -f boot2.lua
|
||||
./luatool.py --port $luatool_tty --bar -f boot.lua
|
||||
#./luatool.py --port $luatool_tty --bar -f b.lua
|
||||
./luatool.py --port $luatool_tty --bar -f 0_send_data.lua
|
||||
./luatool.py --port $luatool_tty --bar -f 0_htu21d.lua
|
||||
./luatool.py --port $luatool_tty --bar -f 0_cron.lua
|
||||
|
||||
./luatool.py --port $luatool_tty -l
|
||||
read -p "Pas eu d'erreur, on part à fond avec le init.lua ?"
|
||||
|
||||
Reference in New Issue
Block a user