Skip to content

Commit 95264d7

Browse files
committed
Fix wrong argument order in example. #1
1 parent b3f2bfb commit 95264d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/setCustomSensitivity/setCustomSensitivity.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ void setup()
2020
while (!Serial)
2121
;
2222
//Set custom sens on X channel
23-
//TOUCH.setSensorsSensitivity(*channel*, *newSensitivity*);
24-
TOUCH.setSensorsSensitivity(0, 98);
23+
//TOUCH.setSensorsSensitivity(*newSensitivity*, channel);
24+
TOUCH.setSensorsSensitivity(98, 0);
2525
// Qtouch initialization
2626
if (!TOUCH.begin())
2727
{

0 commit comments

Comments
 (0)