- repris le projet btn_led_remote dans le workshop, ne fonctionne pas encore

This commit is contained in:
Christian Zufferey
2018-10-11 18:26:51 +02:00
parent 73392c7b8b
commit 55a2037088
44 changed files with 145 additions and 38 deletions
+10
View File
@@ -0,0 +1,10 @@
-- Démarre le WIFI en mode AP
print("\n wifi_cli_stop.lua zf180824.2000 \n")
local zmodewifi=wifi.getmode()
if zmodewifi == wifi.STATION then
wifi.setmode(wifi.NULLMODE)
elseif zmodewifi == wifi.STATIONAP then
wifi.setmode(wifi.SOFTAP)
end
print("WIFI CLI arrêté")