Le module DS18B20 en LUA ne fonctionne pas bien, j'ai dû revenir au modeule DS18B20 en C :-(

This commit is contained in:
Christian Zufferey
2019-06-01 15:39:37 +02:00
parent f550821f20
commit 08bba82df9
14 changed files with 354 additions and 10 deletions

10
zpackage/wifi_ap_stop.lua Normal file
View File

@@ -0,0 +1,10 @@
-- Démarre le WIFI en mode AP
print("\n wifi_ap_stop.lua zf180824.2000 \n")
local zmodewifi=wifi.getmode()
if zmodewifi == wifi.SOFTAP then
wifi.setmode(wifi.NULLMODE)
elseif zmodewifi == wifi.STATIONAP then
wifi.setmode(wifi.STATION)
end
print("WIFI AP arrêté")