firmware wip - add time in menu, make ntp offset work

This commit is contained in:
Marcus 2024-04-18 03:49:44 +02:00
parent 3c8cba0b45
commit 7365fc2b85

View file

@ -1287,7 +1287,14 @@ void WEBroot() {
} }
} }
float growLightBrightnes = round((PINled_PWM / 255) * 100);
Serial.print("growLightBrightnes: ");
Serial.println(growLightBrightnes);
body += "<br>";
body += "Growlight brightnes: ";
body += growLightBrightnes;
body += " %<br>";
body += "<form method='post' action='/switch'>"; body += "<form method='post' action='/switch'>";
body += "MOSFET<select id='output' name='output' required>\n"; body += "MOSFET<select id='output' name='output' required>\n";
body += "<option disabled value='' selected hidden>---</option>\n"; body += "<option disabled value='' selected hidden>---</option>\n";