Skip to content

Commit 20a5f1d

Browse files
committed
Added comment to main loop delay
1 parent 7fcdbd2 commit 20a5f1d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/Example3_Trigger_Echo/Example3_Trigger_Echo.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ void loop() {
5454
// Serial.print("Distance (cm): ");
5555
// Serial.println((distance / 10.0), 2); // Print to 2 decimal places
5656

57-
//Serial.print("Distace (in): ");
58-
//Serial.println((distance / 25.4), 2); // Print to 2 decimal places
57+
// Serial.print("Distace (in): ");
58+
// Serial.println((distance / 25.4), 2); // Print to 2 decimal places
5959

60-
delay(500);
60+
delay(500); // Must be no less than 25ms to ensure full 400cm sensor range
6161
}

0 commit comments

Comments
 (0)