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)