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

View file

@ -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 += "'/>";