touch library difference between arduino and idf

joe_fang_iD
Posts: 12
Joined: Thu Aug 01, 2019 11:59 pm

touch library difference between arduino and idf

Postby joe_fang_iD » Wed Oct 23, 2024 12:30 am

ESP32-Arduino by Espressif version: 3.0.5
ESP-IDF version: v4.4.3

Hello, I've noticed that when I am using esp32-arduino touch, I see that the values I read using the examples are significantly smaller (around 30 or so using arduino's touchread()) than what i would read in ESP-IDF's touch library examples (around 300 using touch_pad_read_filtered). I would love to get some info on what key differences there are between the two in terms touch functional gain/loss as well as just differences in settings; i see that most of the filtering and fsm settings are the same, but maybe someone here with experience would know and can save me a lot of time; greatly appreciated if that's the case. Is it just the difference between reading raw and filtered data? And if so, how much effort would it be for me to port the filtered read into arduino?

Who is online

Users browsing this forum: No registered users and 36 guests