|
|
@ -32,16 +32,6 @@ function PageLoading(progress) |
|
|
|
Disp:updateDisplay(); |
|
|
|
Disp:updateDisplay(); |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
function PageMainScene(wifiName,ipAddress,version) |
|
|
|
|
|
|
|
Screen_WIFINAME = wifiName; |
|
|
|
|
|
|
|
Screen_IPADDRESS = ipAddress; |
|
|
|
|
|
|
|
Screen_VERSION = version; |
|
|
|
|
|
|
|
Disp:clearBuffer(); |
|
|
|
|
|
|
|
DrawMainScene(Screen_WIFINAME,Screen_IPADDRESS,Screen_VERSION) |
|
|
|
|
|
|
|
Disp:updateDisplay(); |
|
|
|
|
|
|
|
--Disp:sendBuffer(); |
|
|
|
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function DrawMainScene(wifiName,ipAddress,version) |
|
|
|
function DrawMainScene(wifiName,ipAddress,version) |
|
|
|
--Disp:setFont(u8g2.font_unifont_t_symbols); |
|
|
|
--Disp:setFont(u8g2.font_unifont_t_symbols); |
|
|
|
Disp:setFont(u8g2.font_unifont_t_symbols); |
|
|
|
Disp:setFont(u8g2.font_unifont_t_symbols); |
|
|
@ -65,6 +55,16 @@ function DrawLight(lightArr) |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function PageMainScene(wifiName,ipAddress,version) |
|
|
|
|
|
|
|
Screen_WIFINAME = wifiName; |
|
|
|
|
|
|
|
Screen_IPADDRESS = ipAddress; |
|
|
|
|
|
|
|
Screen_VERSION = version; |
|
|
|
|
|
|
|
Disp:clearBuffer(); |
|
|
|
|
|
|
|
DrawMainScene(Screen_WIFINAME,Screen_IPADDRESS,Screen_VERSION) |
|
|
|
|
|
|
|
Disp:updateDisplay(); |
|
|
|
|
|
|
|
--Disp:sendBuffer(); |
|
|
|
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
function PageLight(lightArr) |
|
|
|
function PageLight(lightArr) |
|
|
|
Disp:clearBuffer(); |
|
|
|
Disp:clearBuffer(); |
|
|
|
DrawMainScene(Screen_WIFINAME,Screen_IPADDRESS,Screen_VERSION); |
|
|
|
DrawMainScene(Screen_WIFINAME,Screen_IPADDRESS,Screen_VERSION); |
|
|
|