Align touch with temperature XPT2046 driver and LVGL inverse map.

Mux VSPI between SD and touch; map like climate UI then undo ROTATION_270 so buttons hit.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-17 18:07:18 +08:00
parent d874cb192c
commit 156d9cf583
9 changed files with 99 additions and 94 deletions

View File

@@ -1,5 +1,12 @@
# Changelog
## 2026-10-17 — Touch = temperature driver + LVGL inverse
- Use `XPT2046_Touchscreen` + VSPI pin mux (touch/SD), same as climate project.
- Map with temperature formula to UI 320x240, then invert LVGL ROTATION_270
so buttons align with fingers.
- On-screen `Touch L:x,y` shows intended UI coordinates.
## 2026-10-17 — Touch calib from COM3 logs
- Logged live `Touch phys/logic` on COM3; inverted physical X so bottom matches UI.