Search found 1 match

by jellsworth
Mon Mar 18, 2024 10:20 pm
Forum: Rust
Topic: Rust wrapper for ESP32-S2 Touch Sensor touchRead()
Replies: 0
Views: 26549

Rust wrapper for ESP32-S2 Touch Sensor touchRead()

I am seeking pre-wrapped safe code for Touch sensor. Something similar to the touchRead() in Adurino and MicroPython.


In Micro python it looks like:
self.touch2 = TouchPad(Pin(2))
s2v = self.touch2.read()

In Adurino it looks like:
int reading = touchRead(GPIO);

I found some reference in the ...

Go to advanced search