Skip to content

Instantly share code, notes, and snippets.

@BinarySpoon
Last active November 12, 2020 04:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BinarySpoon/7976d30d4d33aeff4647e1329ad5d208 to your computer and use it in GitHub Desktop.
Save BinarySpoon/7976d30d4d33aeff4647e1329ad5d208 to your computer and use it in GitHub Desktop.
void setup() {
// Startup LCD message -->
MyLCD.begin(16,2);
MyLCD.setCursor(0,0);
MyLCD.print("UltraSonicDistanceSensor");
MyLCD.setCursor(0, 1);
MyLCD.print("By AkashP");
delay(1000);
MyLCD.clear();
default_State();
// Setup Serial -->
Serial.begin(115200);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment