Implement Text Input
This commit is contained in:
@@ -366,14 +366,21 @@ The `?v=Date.now()` on imports handles this automatically on page load.
|
||||
- Move-to-XY numeric input with Go button
|
||||
- Board boundary + mechanism exclusion zone visualisation
|
||||
- Simulation badge (yellow) when BLE not connected
|
||||
- [x] Home section (`home.js`) — placeholder landing page, same visual style
|
||||
- [x] Board Control section (`board-control.js`):
|
||||
- Interactive map with clickable spots
|
||||
- Speed and Acceleration controls
|
||||
- Background image selector with config memory
|
||||
- [x] Input Text section (`input-text.js`):
|
||||
- Text input to spell words automatically
|
||||
- Delay, Speed, and Acceleration sliders
|
||||
- Position overlay marker on background
|
||||
- [x] Firmware (`src/main.cpp`) — AccelStepper + BLE command parser + position NOTIFY
|
||||
|
||||
---
|
||||
|
||||
## 10. What Remains (Planned Sections)
|
||||
|
||||
The router currently only has two routes. These sections need to be created:
|
||||
The router currently only has three routes. These sections need to be created/expanded:
|
||||
|
||||
### `board-control` section (implemented)
|
||||
- Uses predefined background maps (SVG/PNG) with corresponding JSON config files specifying clickable coordinates in physical mm.
|
||||
@@ -381,6 +388,11 @@ The router currently only has two routes. These sections need to be created:
|
||||
- Supports movement modes (e.g., Direct, Erratic, Random, Snaky).
|
||||
- Requires arm to be homed; homing state is persisted across sessions via `localStorage`.
|
||||
|
||||
### `input-text` section (implemented)
|
||||
- Keyboard input that sequentially spells out words on the board.
|
||||
- Requires background `spots.json` to have `"hasAlphabet": true`.
|
||||
- Persisted Speed, Acceleration, and Delay settings.
|
||||
|
||||
### `sequence-editor` section (not started)
|
||||
- Record and replay a sequence of moves
|
||||
- Save/load sequences to localStorage
|
||||
|
||||
Reference in New Issue
Block a user