BareConductive/mpr121

Separate touch and release trip thresholds for each electrode?

Closed this issue · 1 comments

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