Refactorisation des dosiers

This commit is contained in:
Christian Zufferey
2019-01-26 18:02:44 +01:00
parent 9528fae38c
commit fb00c5ed6d
27 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
-- Démarre le WIFI en mode AP
print("\n wifi_ap_start.lua zf190125.1715 \n")
local zmodewifi=wifi.getmode()
if zmodewifi == wifi.NULLMODE then
print("WIFI mode AP only")
wifi.setmode(wifi.SOFTAP)
elseif zmodewifi == wifi.STATION then
print("WIFI mode AP+CLI")
wifi.setmode(wifi.STATIONAP)
end
wifi.ap.config({ ssid = "NodeMCU "..wifi.ap.getmac(), pwd = "12345678" })
--f= "wifi_info.lua" if file.exists(f) then dofile(f) end