 long tempoTotal;
 int distancia;
 int serialRead = 0;
-
 float ultrassonic();
 
 void setup(){

}

void loop(){
  if (Serial.available() > 0) {
    serialRead = Serial.read();
    if (serialRead == 85){ // Letra U
      distancia = ultrassonic();
      lcd.clear();
      lcd.print(distancia);     
    }
  }
}

float ultrassonic(){
  digitalWrite(disparar, HIGH);
  delayMicroseconds(10);

/*
Jhonatan da Silva
Last Updated version :
Thu Feb  9 19:29:43 2017
Number of code lines: 
47
*/
#include <LiquidCrystal.h>
LiquidCrystal lcd(8, 9, 4, 5, 6, 7);
