Page 1 of 1

touch library difference between arduino and idf

Posted: Wed Oct 23, 2024 12:30 am
by joe_fang_iD
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?

Re: touch library difference between arduino and idf

Posted: Wed Nov 06, 2024 6:01 pm
by joe_fang_iD
just bumping this to see if anyone with information, would love to figure out if I can use the touch library.