v2.4.5 - Touch Calibration Constants
ESP32-DIV v2.4.5 — Touch Calibration Fix
What's New
Touch calibration now uses centralized constants instead of hardcoded values.
The Change:
All touch coordinate mapping now uses constants from Touchscreen.h:
int x = ::map(p.x, TS_MINX, TS_MAXX, 0, SCREEN_WIDTH - 1);
int y = ::map(p.y, TS_MAXY, TS_MINY, 0, SCREEN_HEIGHT - 1);Why This Matters:
- DIY/Breadboard builds — If your touch is off, just edit
Touchscreen.h - One place to calibrate — No more hunting through 4 different .cpp files
- Community request — Thanks @IgorMH for the suggestion
Files Updated:
bluetooth.cppwifi.cppsubghz.cpputils.cpp
Downloads
| Download | For |
|---|---|
ESP32-DIV-v2.4.5-HaleHound.zip |
Standard users |
ESP32-DIV-v2.4.5-Duggie-Edition.zip |
Colorblind users |
Flashing
# macOS
chmod +x flash_mac.sh && ./flash_mac.sh
# Linux
chmod +x flash_linux.sh && ./flash_linux.sh
# Windows
flash_windows.batRequires esptool.py — Install with pip install esptool
Full Changelog: v2.4...v2.4.5