Skip to content

Commit 1dd7e8e

Browse files
authored
Button numeration changed
1 parent 2512f1b commit 1dd7e8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/TouchPads/Custom_Sensitivity/Custom_Sensitivity.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ void loop() {
2222
// put your main code here, to run repeatedly:
2323
carrier.Buttons.update();
2424
//Lets test 1 button, they should all react in the same way
25-
if (carrier.Button1.getTouch()) {
25+
if (carrier.Button0.getTouch()) {
2626
Serial.println("touching");
2727
}
2828
}

0 commit comments

Comments
 (0)