Skip to content

Commit 005bc21

Browse files
authored
Changed Button number in example
1 parent a91d67f commit 005bc21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ void setup(){
134134
void loop(){
135135
carrier.Buttons.update(); // Read the buttons state
136136

137-
//Check if the Button 1 is being touched
138-
if (carrier.Button1.getTouch()){
137+
//Check if the Button 0 is being touched
138+
if (carrier.Button0.getTouch()){
139139
Serial.println("Touching Button 1");
140140
}
141141

0 commit comments

Comments
 (0)