Is there any library or example on how to use a 4-pin capacitive touch display on an ESP32S3?
I see examples in https://github.com/espressif/esp-idf/tr ... ch_element but they are labeled as ESP32S2 only. I managed to run the touch_matrix example (https://github.com/espressif/esp-idf/tr ... uch_matrix) on the ESP32S3 but it doesn't really serve my purpose as I only get 4 possible (binary) outputs.
I'd like to know the X/Y position that was touched.
I'm using the Adafruit 2.4" TFT LCD with Touchscreen Breakout w/MicroSD Socket - ILI9341 https://www.adafruit.com/product/2478.
I found https://github.com/dracir9/ESP_TouchScreen but that project compiles with Arduino, I need a version that runs within IDF.
Thanks,
Stephan
ESP32S3 touch screen library
Re: ESP32S3 touch screen library
Depends of the display you want to use there are libraries for most common displays even in ESP IDF here's a tutorial for using one of the displays you mentioned with ESP IDF: https://www.hackster.io/nash-ali/using- ... uch-a04e77
But I'd generally use U8G2 for display graphics control because It's covering most if not all display funcs I need for each display and as for the touch aspect I'll usually go on a separate "touch IC" do I'll either find a library for that IC or make one my self for the touch feedback.
But I'd generally use U8G2 for display graphics control because It's covering most if not all display funcs I need for each display and as for the touch aspect I'll usually go on a separate "touch IC" do I'll either find a library for that IC or make one my self for the touch feedback.
Who is online
Users browsing this forum: No registered users and 45 guests