   return;
 }
 
+//sends value to master Arduino
 void send(unsigned long value){
-  //send value to master arduino
   return;
 }
 

  return round(newAverage);
}

//check whether the sensor is working.
void sensorCheck() {
  validAverage = measure(); //Get a first average for use in exponential moving average calculation.
  if (validAverage == 0) {
    //Sensor isn't working. Action required.
  }

/*
Program to use the HC - SR04 Ultrasonic sensor.
Smoothens measurements using an exponential moving average.


