Skip to content

Commit 095103c

Browse files
authored
Merge pull request #53 from lucvan/docs/4827s043r-resistive-touch
4827S043: document working resistive touch (standalone XPT2046)
2 parents 56cd9a4 + 053b679 commit 095103c

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

docs/hardware/sunton/esp32-4827s043.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,7 @@ or the latest found under <a target="_blank" href="https://github.com/HASwitchPl
7474

7575
Note that some of the screens have **TWO** versions, **Resistive** and **Capacitive**, so flash the correct firmware (ends in `r` or a `c` respectively).
7676

77-
**RESISTIVE**: After first boot, Run a `Calibration` via the web ui -> Display Setup -> Calibrate
78-
79-
Then on the screen, touch the indicated points.
77+
**RESISTIVE**: The `r` firmware drives resistive touch with a standalone XPT2046 driver (this board's RGB-parallel panel is driven by ArduinoGFX, so touch runs on its own SPI bus) and ships with a working calibration baked in for the panel, so it is usable out of the box. Its calibration is set via the `TOUCH_XPT2046_*` build flags (notably `SWAP_XY` and the raw min/max window) rather than the web UI *Display Setup -> Calibrate* flow — adjust those and recompile to fine-tune. Resistive-touch support for this board was added in [openHASP #1028](https://github.com/HASwitchPlate/openHASP/pull/1028).
8078

8179
[1]: https://www.aliexpress.com/item/1005004788147691.html
8280
[2]: https://www.aliexpress.com/item/1005004788147691.html

0 commit comments

Comments
 (0)