esp-idf-hal
esp-idf-hal copied to clipboard
ESP32/S2/S3 touch sensor support
Currently this sensor is supported by esp-idf-sys but there is no higher level wrapper, it would be great to have one!
@keirlawson - Do you know when the touch driver will be available in a stable release?
I'm afraid I stopped working on it as my embedded Rust skills are not really up to the challenge!
@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