Files

46 lines
1.3 KiB
Markdown

# M5Stack Tab5 Touch Dashboard
PlatformIO starter for the M5Stack Tab5. It demonstrates the 1280x720 display,
touch buttons, a brightness slider, touch coordinates, memory, battery, Wi-Fi,
and accelerometer status.
## Variation 1
The first refinement uses larger FreeSans fonts, clearer visual hierarchy, and
a PSRAM-backed canvas for the brightness control. The slider strip is composed
off-screen and pushed to the display in one operation, eliminating visible
redraw flicker while dragging.
## Build and upload
```powershell
pio run
pio run --target upload
pio device monitor --baud 115200
```
If needed, append the port: `--upload-port COM29`.
## Controls
- **RED**, **GREEN**, and **BLUE** change the central panel.
- **RESET** restores the default and clears the counter.
- Drag the bottom slider to change brightness.
- Touching the colour panel draws a white marker.
Current M5Unified and M5GFX versions support the different display/touch
controller variants shipped in Tab5 units.
## Next steps
1. Connect Wi-Fi and show the IP address.
2. Add an SD-card browser.
3. Add camera and audio tests.
4. Recreate the dashboard with LVGL widgets.
## References
- [Tab5 documentation](https://docs.m5stack.com/en/core/Tab5)
- [M5Unified](https://github.com/M5Stack/M5Unified)
- [M5GFX](https://github.com/M5Stack/M5GFX)