-
-
Save BinarySpoon/8e655c7133f28dc8b2908f9b2db9c092 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void loop() { | |
// Every 25ms --> | |
delay(25); | |
int mean_distance = MeasureDist(); | |
Object_Alert(mean_distance); | |
// Update Distance To LCD --> | |
MyLCD.setCursor(6,1); | |
MyLCD.print(mean_distance); | |
// Update Distance To Serial --> | |
Serial.print(mean_distance); | |
Serial.print("\t"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment