firmware - disable MOSFET control on root page
This commit is contained in:
parent
8218de11b1
commit
d782cae49a
2 changed files with 16 additions and 16 deletions
|
@ -1,5 +1,5 @@
|
|||
/* CanGrow_Version.h gets generated from cangrow.sh */
|
||||
|
||||
const char* CanGrowVer = "0.1-dev";
|
||||
const char* CanGrowBuild = "3795569-20241205035049";
|
||||
const char* CanGrowBuild = "8218de1-20241205035359";
|
||||
|
||||
|
|
|
@ -384,24 +384,24 @@ void WEBroot() {
|
|||
body += "<b>Growlight brightness:</b> ";
|
||||
body += ((PinLEDPWM * 100) / 255);
|
||||
body += " %<br>\n";
|
||||
body += "<form method='post' action='/switch'>\n";
|
||||
body += "<b>MOSFET:</b> <select id='output' name='output' >\n";
|
||||
body += "<option disabled value='' selected hidden>---</option>\n";
|
||||
body += "<option value='1'>LED</option>\n";
|
||||
body += "<option value='2'>FAN</option>\n";
|
||||
body += "<option value='3'>PUMP</option>\n";
|
||||
body += "</select><br>";
|
||||
//~ body += "<form method='post' action='/switch'>\n";
|
||||
//~ body += "<b>MOSFET:</b> <select id='output' name='output' >\n";
|
||||
//~ body += "<option disabled value='' selected hidden>---</option>\n";
|
||||
//~ body += "<option value='1'>LED</option>\n";
|
||||
//~ body += "<option value='2'>FAN</option>\n";
|
||||
//~ body += "<option value='3'>PUMP</option>\n";
|
||||
//~ body += "</select><br>";
|
||||
|
||||
body += "<b>On/Off:</b> <select id='state' name='state' >\n";
|
||||
body += "<option disabled value='' selected hidden>---</option>\n";
|
||||
body += "<option value='1'>On</option>\n";
|
||||
body += "<option value='0'>Off</option>\n";
|
||||
body += "</select><br>\n";
|
||||
//~ body += "<b>On/Off:</b> <select id='state' name='state' >\n";
|
||||
//~ body += "<option disabled value='' selected hidden>---</option>\n";
|
||||
//~ body += "<option value='1'>On</option>\n";
|
||||
//~ body += "<option value='0'>Off</option>\n";
|
||||
//~ body += "</select><br>\n";
|
||||
|
||||
body += "<b>Intensity:</b> <input type='range' id='OutputPWM' name='OutputPWM' min='1' max='255' value='255'/><br>\n";
|
||||
//~ body += "<b>Intensity:</b> <input type='range' id='OutputPWM' name='OutputPWM' min='1' max='255' value='255'/><br>\n";
|
||||
|
||||
body += "<input type='submit' value='Save'>\n";
|
||||
body += "</form><br>\n";
|
||||
//~ body += "<input type='submit' value='Save'>\n";
|
||||
//~ body += "</form><br>\n";
|
||||
body += "<a class='button' href='/system/maintenance'>Maintenance Mode</a>";
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue