Closed tonysnark closed 6 years ago
Readme calls out the feature "Separate touch and release trip thresholds for each electrode"
I don't see any examples on simpletouch.ino how to address individual electrode thresholds, only overall thresholds with:
MPR121.setTouchThreshold(40);
Thanks in advance for any insight.
Hi Tony
The syntax for setting separate touch and release thresholds is detailed in the class header here
MPR121.setTouchThreshold( electrodeNumber, thresholdValue );
Hope this helps
S
Readme calls out the feature "Separate touch and release trip thresholds for each electrode"
I don't see any examples on simpletouch.ino how to address individual electrode thresholds, only overall thresholds with:
MPR121.setTouchThreshold(40);
Thanks in advance for any insight.