Fait un nouveau firmware minimaliste pour essayer de gagner de la RAM, mais finalement je n'ai gagné que 100 bytes de RAM :-(

This commit is contained in:
Christian Zufferey
2019-12-21 12:42:35 +01:00
parent 234d69ca49
commit 11ec004436
9 changed files with 223 additions and 16 deletions

View File

@@ -1,13 +1,13 @@
-- Petit script pour faire office de crontab pour les
--mesures
print("\n 0_cron.lua zf191217.2222 \n")
print("\n 0_cron.lua zf191220.2245 \n")
f= "flash_led_xfois.lua" if file.exists(f) then dofile(f) end
flash_led_xfois()
xfois =2
--f= "flash_led_xfois.lua" if file.exists(f) then dofile(f) end
--flash_led_xfois()
--xfois =2
cron1=tmr.create()
cron1:alarm(10*1000, tmr.ALARM_AUTO, function()
blink_LED ()
-- blink_LED ()
send_data()
end)