We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fcdbd2 commit 20a5f1dCopy full SHA for 20a5f1d
examples/Example3_Trigger_Echo/Example3_Trigger_Echo.ino
@@ -54,8 +54,8 @@ void loop() {
54
// Serial.print("Distance (cm): ");
55
// Serial.println((distance / 10.0), 2); // Print to 2 decimal places
56
57
- //Serial.print("Distace (in): ");
58
- //Serial.println((distance / 25.4), 2); // Print to 2 decimal places
+ // Serial.print("Distace (in): ");
+ // Serial.println((distance / 25.4), 2); // Print to 2 decimal places
59
60
- delay(500);
+ delay(500); // Must be no less than 25ms to ensure full 400cm sensor range
61
}
0 commit comments