firmware wip

This commit is contained in:
Marcus 2024-04-18 16:39:40 +02:00
parent 0d7e3cf79b
commit 2ab8c790e7
1 changed files with 2 additions and 6 deletions

View File

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