Implement proper stepper idling. Should close #3
This commit is contained in:
@@ -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.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user