long duration; long distance; long cm;  int echoPin=2; int trigPin=4;  void setup() {  pinMode(trigPin,OUTPUT);  pinMode(echoPin,INPUT);    Serial.begin(9600);       }  void loop() {     }   long getDistance {   digitalWrite(trigPin,LOW);   delayMicroseconds(2);   digitalWrite(trigPin,HIGH);   delayMicroseconds(10);         digitalWrite(trigPin,LOW);     duration = pulseIn(echoPin,HIGH);    cm = duration/27/2;    return cm;       }