Skip to content

Commit 4dd02d7

Browse files
authored
Added individual getSensitivity()
1 parent 95264d7 commit 4dd02d7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/Arduino_MCHPTouch.cpp

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,19 @@ unsigned int QtouchClass::getSensorsSensitivity()
134134
return getSensitivity();
135135
}
136136

137+
/*******************************************************************************
138+
* Function Name : getSensorsSensitivity
139+
* Description : Querys the Qtouch and returns the configured Sensitivity
140+
* value from a specific sensor
141+
* Input : btn_channel - sensor's number
142+
* Return : The Sensitivity value
143+
*******************************************************************************/
144+
145+
unsigned int QtouchClass::getSensorsSensitivity(unsigned int btn_channel)
146+
{
147+
return getSensitivity(unsigned int btn_channel);
148+
}
149+
137150
/*******************************************************************************
138151
* Function Name : getSensorsHysteresis
139152
* Description : Querys the Qtouch and returns the configured hysteresis

0 commit comments

Comments
 (0)