- essayé d'installer webide sur NodeMCU, il y a justement un exemple de websocker server, je n'arrive pas encore à comprendre comment cela marche - donc il y a encore pas mal de taf
11 lines
279 B
Lua
11 lines
279 B
Lua
-- 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é")
|