We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b16c8d commit 434febaCopy full SHA for 434feba
adafruit_mpr121.py
@@ -112,14 +112,16 @@ def thresholds(self, value):
112
113
@property
114
def threshold(self):
115
+ """The touch threhold."""
116
return self.thresholds[0]
117
118
@threshold.setter
119
def threshold(self, value):
120
self._mpr121._write_register_byte(MPR121_TOUCHTH_0 + 2*self._channel, value)
-
121
+
122
123
def release_threshold(self):
124
+ """The release threhold."""
125
return self.thresholds[1]
126
127
@release_threshold.setter
0 commit comments