2dba8e401d0aeb7d49bd49a1e286ad4f0960cba1
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
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
- Connect Wi-Fi and show the IP address.
- Add an SD-card browser.
- Add camera and audio tests.
- Recreate the dashboard with LVGL widgets.
References
Description
Languages
C++
100%