Skip to content

Commit

Permalink
Merge pull request #81 from per1234/knock-delay-position
Browse files Browse the repository at this point in the history
Only delay after serial output in "Knock"
  • Loading branch information
per1234 committed Sep 11, 2024
2 parents f1abc30 + 7f75d46 commit 00b6086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/06.Sensors/Knock/Knock.ino
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ void loop() {
digitalWrite(ledPin, ledState);
// send the string "Knock!" back to the computer, followed by newline
Serial.println("Knock!");
delay(100); // delay to avoid overloading the serial port buffer
}
delay(100); // delay to avoid overloading the serial port buffer
}

0 comments on commit 00b6086

Please sign in to comment.