Passé à une mesure toutes les minutes au lieu de toutes 10 secondes
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
-- Petit script pour faire office de crontab pour les mesures
|
-- Petit script pour faire office de crontab pour les mesures
|
||||||
print("\n 0_cron.lua zf200621.1936 \n")
|
print("\n 0_cron.lua zf200928.1112 \n")
|
||||||
|
|
||||||
cron1=tmr.create()
|
cron1=tmr.create()
|
||||||
cron1:alarm(10*1000, tmr.ALARM_AUTO, function()
|
cron1:alarm(60*1000, tmr.ALARM_AUTO, function()
|
||||||
-- if verbose then print("cron1........................") end
|
-- if verbose then print("cron1........................") end
|
||||||
-- if verbose then gpio.write(zLED, gpio.LOW) tmr.delay(10000) gpio.write(zLED, gpio.HIGH) end
|
-- if verbose then gpio.write(zLED, gpio.LOW) tmr.delay(10000) gpio.write(zLED, gpio.HIGH) end
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Quelques commandes remote (luatool) à envoyer avec le plugin Atom-IDE-terminal de l'éditeur Atom
|
# Quelques commandes remote (luatool) à envoyer avec le plugin Atom-IDE-terminal de l'éditeur Atom
|
||||||
# zf200621.2312
|
# zf200928.1111
|
||||||
|
|
||||||
|
|
||||||
Todo à faire pour ce projet !
|
Todo à faire pour ce projet !
|
||||||
@@ -50,7 +50,7 @@ ssh ubuntu@www.zuzu-test.ml socat TCP-LISTEN:23064,reuseaddr,fork TCP-LISTEN:230
|
|||||||
|
|
||||||
watch -n 1 'ssh ubuntu@www.zuzu-test.ml netstat -nat |grep 230'
|
watch -n 1 'ssh ubuntu@www.zuzu-test.ml netstat -nat |grep 230'
|
||||||
|
|
||||||
# ALT+CMD+F CTRL+C ALT+CMD+F
|
# ATTENTION il faut faire un: ALT+CMD+F CTRL+C ALT+CMD+F
|
||||||
export zIP="localhost"
|
export zIP="localhost"
|
||||||
export zport="23000"
|
export zport="23000"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user