LilyGO T-Display-P4 comes with either
- HI8561 (a.k.a. JD9365TG) TFT display driver + touch sensor combo or
- RM69A10 AMOLED display driver + GT9895 touch sensor
GT9895 touch sensor is already supported by SensorLib , thank you!
It could make sense to add support for HI8561 touch sensor component into SensorLib as well.
Both HI8561 and GT9895 drivers are a part of https://github.com/Llgok/cpp_bus_driver library
However, the cpp_bus_driver is focused on ESP-IDF and it gives me numerous namespace collision issues when I try to build it with Arduino Core for ESP32.
That's why it is wise to support HI8561 TP in the SensorLib ecosystem - it is a lot more Arduino friendly.
P.S. this is an example of application built with Arduino Core ESP32 that runs on LilyGO T-Display-P4 TFT product.
The display works fine! Unfortunately, the touch sensor is inactive.
