Ecrit un tout mini player MP3 ;-)

This commit is contained in:
Christian Zufferey
2019-01-31 00:25:43 +01:00
parent a3941d7ae1
commit e09770c240
15 changed files with 496 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