   output += "Trial " + String(count) + "\n";
   output += "-------------------\n";
 
+
   digitalWrite(MOSFET_US_PIN, HIGH);
   delay(3000);
-
 
   // Take X readings
   int distanceReadings[NUM_READINGS];

  digitalWrite(MOSFET_US_PIN, LOW);
  delay(500);

  // Average the readings
  double sumDistance = 0.0;
  for (int i = 0; i < NUM_READINGS; ++i)


  output += "Rounded:" + String(roundedDistance) + "\n\n";

  sd.begin();
  sd.writeFile(OUTPUT_FILENAME, output);

