[update] Layout
This commit is contained in:
@@ -14,7 +14,7 @@ The Pico 2W plugs directly into the display board's header socket. No additional
|
||||
### Pin Mapping (PicoResTouch-LCD-2.8)
|
||||
|
||||
| Component | GPIO | Function |
|
||||
| :---------------- | :----- | :---------------- |
|
||||
| :------------ | :----- | :-------------- |
|
||||
| **LCD SCLK** | `GP10` | SPI1 Clock |
|
||||
| **LCD MOSI** | `GP11` | SPI1 TX |
|
||||
| **LCD MISO** | `GP12` | SPI1 RX |
|
||||
@@ -58,12 +58,13 @@ When idle (no input for 60 seconds), the board enters demo mode where two AI pla
|
||||
Accessible from the main menu. All settings are saved to flash (EEPROM) and persist across reboots.
|
||||
|
||||
| Setting | Range | Description |
|
||||
| :------------------- | :------- | :------------------------------------------------- |
|
||||
| :------------ | :----- | :------------------------------------------------ |
|
||||
| **AI Ply** | 1-10 | Search depth for the AI. Higher = stronger. |
|
||||
| **Blunder** | ON/OFF | AI randomly picks a bad move at the configured %. |
|
||||
| **Blunder %** | 5-100% | Chance of a blunder when enabled (step 5). |
|
||||
|
||||
Additional options:
|
||||
|
||||
- **View Game Log** - Paginated list of all played games (type, level, winner, moves). Player wins highlighted in red. Option to clear the log.
|
||||
- **Recalibrate Touch** - Re-run the two-point touch calibration.
|
||||
|
||||
@@ -74,6 +75,7 @@ The last 100 games are stored in flash. Each entry records the game type (Yellow
|
||||
## Touch Calibration
|
||||
|
||||
On first boot, the display shows a two-point calibration screen (touch top-left, then bottom-right crosshairs). Calibration data is stored in EEPROM. To recalibrate:
|
||||
|
||||
- Hold the touchscreen during boot, **or**
|
||||
- Use Settings > Recalibrate Touch.
|
||||
|
||||
@@ -107,7 +109,7 @@ pio device monitor
|
||||
Configurable parameters defined as `-D` flags in `platformio.ini`:
|
||||
|
||||
| Flag | Default | Description |
|
||||
| :--------------------- | :------ | :------------------------------------------------ |
|
||||
| :--------------------- | :------ | :--------------------------------------------- |
|
||||
| `DEFAULT_LOOK_AHEAD` | `8` | Default AI search depth (plies) |
|
||||
| `DEFAULT_IDLE_TIMEOUT` | `60` | Seconds before demo mode activates |
|
||||
| `DEMO_RESET_PAUSE` | `20000` | Milliseconds before finished game enters demo |
|
||||
|
||||
Reference in New Issue
Block a user