my first plants are coming out of their seed - i need some light control urgently, lol
This commit is contained in:
parent
7c359b2221
commit
150cbc17d2
1 changed files with 10 additions and 1 deletions
|
@ -697,6 +697,15 @@ void wifiConnect() {
|
||||||
timeClient.update();
|
timeClient.update();
|
||||||
Serial.println(timeClient.getFormattedTime());
|
Serial.println(timeClient.getFormattedTime());
|
||||||
Serial.println(timeClient.getEpochTime());
|
Serial.println(timeClient.getEpochTime());
|
||||||
|
|
||||||
|
|
||||||
|
display.clearDisplay();
|
||||||
|
display.display();
|
||||||
|
display.setCursor(0,0);
|
||||||
|
// display text
|
||||||
|
display.print("IP: ");
|
||||||
|
display.print(WiFi.localIP());
|
||||||
|
display.display();
|
||||||
}
|
}
|
||||||
|
|
||||||
void wifiAp() {
|
void wifiAp() {
|
||||||
|
@ -1118,7 +1127,7 @@ void WEBgrowSettings() {
|
||||||
|
|
||||||
body += "<form method='post' action='/growSettings/save'>\n";
|
body += "<form method='post' action='/growSettings/save'>\n";
|
||||||
|
|
||||||
body += "Brightness <input type='range' id='PINled_PWM' name='PINled_PWM' min='1' max='255' step='5' style='direction: rtl;' value='";
|
body += "Brightness <input type='range' id='PINled_PWM' name='PINled_PWM' min='1' max='255' value='";
|
||||||
body += PINled_PWM;
|
body += PINled_PWM;
|
||||||
body += "'/>";
|
body += "'/>";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue