From 6764a376b8ca30281d198373b83e0e6a8cb4fefd Mon Sep 17 00:00:00 2001 From: Christian Zufferey Date: Sun, 16 Jun 2019 15:30:37 +0200 Subject: [PATCH] =?UTF-8?q?Voil=C3=A0=20cela=20fonctionne=20maintenant,=20?= =?UTF-8?q?c'=C3=A9tait=20comme=20la=20derni=C3=A8re=20fois,=20c'est=20le?= =?UTF-8?q?=20https=20au=20niveau=20get=20qui=20conince=20quand=20je=20pas?= =?UTF-8?q?se=20avec=20mon=20smartphone=20pour=20Internet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Temp_DS18B20/tst_ds18b20/a1.lua | 4 ++-- Temp_DS18B20/tst_ds18b20/web_cli.lua | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Temp_DS18B20/tst_ds18b20/a1.lua b/Temp_DS18B20/tst_ds18b20/a1.lua index 9bfd05e..45fc2d1 100644 --- a/Temp_DS18B20/tst_ds18b20/a1.lua +++ b/Temp_DS18B20/tst_ds18b20/a1.lua @@ -3,7 +3,7 @@ -- source: https://nodemcu.readthedocs.io/en/master/modules/ds18b20/ function a1() - print("\n a1.lua zf190616.1453 \n") + print("\n a1.lua zf190616.1519 \n") end a1() @@ -27,7 +27,7 @@ ds18b20.read( elseif ind == 3 then ztemp3 = temp --C'est la fin de lecture, on envoie les mesures à ThingSpeak - print(ztemp1,ztemp2,ztemp3) + print(ztemp1,ztemp2,ztemp3) disp_send() end end,{}) diff --git a/Temp_DS18B20/tst_ds18b20/web_cli.lua b/Temp_DS18B20/tst_ds18b20/web_cli.lua index 8a3155d..f741fc3 100644 --- a/Temp_DS18B20/tst_ds18b20/web_cli.lua +++ b/Temp_DS18B20/tst_ds18b20/web_cli.lua @@ -1,10 +1,9 @@ -- Petit script pour envoyer quelque chose sur un serveur WEB -print("\n web_cli.lua zf190616.1513 \n") - +print("\n web_cli.lua zf190616.1519 \n") function disp_send() print("web_cli: ") - ztemp1=11 ztemp2=12 ztemp3=13 +-- ztemp1=11 ztemp2=12 ztemp3=13 zurl=thingspeak_url_update.."field1="..tostring(ztemp1).."&field2="..tostring(ztemp2).."&field3="..tostring(ztemp3) print(zurl)