Implement proper stepper idling. Should close #3

This commit is contained in:
osiu97
2026-07-08 19:31:51 +02:00
parent 90458e2e17
commit c6f73a3b8d
5 changed files with 70 additions and 6 deletions
+2
View File
@@ -92,11 +92,13 @@ Name: WijiBoard
| `HOMEALL` | Home both motors simultaneously |
| `HOME1` | Home motor 1 |
| `HOME2` | Home motor 2 |
| `DISABLE` | Disable steppers (un-hold) and require rehoming. Auto-triggers after 30 mins (`30 * 60 * 1000` ms) of inactivity |
| `POS` | Request current positions (triggers NOTIFY) |
### Status notifications (firmware → browser)
`P:<s1>,<s2>` — current step positions for motor 1 and 2, sent every 200 ms while moving.
`SYS:IDLE_TIMEOUT` — Sent when motors are automatically disabled due to 30 mins of inactivity.
---