my first plants are coming out of their seed - i need some light control urgently, lol

This commit is contained in:
Marcus 2024-04-16 13:23:24 +02:00
parent 7c359b2221
commit 150cbc17d2
1 changed files with 10 additions and 1 deletions

View File

@ -697,6 +697,15 @@ void wifiConnect() {
timeClient.update();
Serial.println(timeClient.getFormattedTime());
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() {
@ -1118,7 +1127,7 @@ void WEBgrowSettings() {
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 += "'/>";