>";
html += "<p><button onclick='fetch(\"/cmd?c=HOME\")'>HOME</button> <button onclick='fetch(\"/cmd?c=MOVE\")'... turn; }
String c = server.arg("c");
if (c == "HOME") { Serial.println("[WEB] HOME"); state = State::HOMING; server.send(200, "text/... tate::HOMING) {
// set hallPulses to 0 at home
hallPulses = 0;
homed = true;
... te::ERROR:
// motor stopped; require manual HOME to recover
servoStop();
// optionally