esp-idf-hal icon indicating copy to clipboard operation
esp-idf-hal copied to clipboard

ESP32/S2/S3 touch sensor support

Open keirlawson opened this issue 1 year ago • 3 comments

Currently this sensor is supported by esp-idf-sys but there is no higher level wrapper, it would be great to have one!

keirlawson avatar Nov 22 '23 22:11 keirlawson

@keirlawson - Do you know when the touch driver will be available in a stable release?

joeatbayes avatar Apr 20 '24 03:04 joeatbayes

I'm afraid I stopped working on it as my embedded Rust skills are not really up to the challenge!

keirlawson avatar Apr 20 '24 08:04 keirlawson

@keirlawson This doesn't bring in the touch driver but it does deliver similar basic capability using Rust and would work on CPU that do not have the touch pins. The main downside is this version uses core CPU cycles whereas the native touch function can run while in sleep and function as a wake-up source. https://github.com/joeatbayes/embedded-rust-examples/tree/main/ex-gpio-change-pin-direction-var-cap-read-1-pin

joeatbayes avatar Apr 24 '24 14:04 joeatbayes