Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 00b6086

Browse filesBrowse files
authored
Merge pull request #81 from per1234/knock-delay-position
Only delay after serial output in "Knock"
2 parents f1abc30 + 7f75d46 commit 00b6086
Copy full SHA for 00b6086

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎examples/06.Sensors/Knock/Knock.ino

Copy file name to clipboardExpand all lines: examples/06.Sensors/Knock/Knock.ino
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@ void loop() {
4949
digitalWrite(ledPin, ledState);
5050
// send the string "Knock!" back to the computer, followed by newline
5151
Serial.println("Knock!");
52+
delay(100); // delay to avoid overloading the serial port buffer
5253
}
53-
delay(100); // delay to avoid overloading the serial port buffer
5454
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.