Fix touchscreen offset to match temperature calibration.
Apply XPT2046 rotation-2 transform and the same landscape map used by the climate project. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -60,8 +60,7 @@ pio device monitor
|
||||
## 注意事项
|
||||
|
||||
- TF 需 **FAT/FAT32**。
|
||||
- 若触屏坐标偏移,改 `src/touch.cpp` 里 `map(...)` 校准范围。
|
||||
- 若点按无反应,检查排线/旋转;可尝试交换 raw_x/raw_y 映射。
|
||||
- 触屏校准与 `temperature` 工程一致(`setRotation(2)` + map);仍偏可改 `src/touch.cpp` 的 `map(...)` 边界。
|
||||
- 变更请更新 `CHANGELOG.md`、必要时重新 `export_from_build.ps1`,并提交本地 git。
|
||||
|
||||
## 版本
|
||||
|
||||
Reference in New Issue
Block a user