   Serial.println();
   Serial.println("SETUP COMPLETE.");
   Serial.println();
-}
+} // setup()
 
 void write_to_sd(void) {
   auto log_path = "nolan-test.log";

  Serial.println(".");
  Serial.println();
  delay(512);

  // Setup objects and verify working condition.
  setup_objects();

  }
}

void printBmeData(void) {
  Serial.print("Temperature = ");
  Serial.print(bme.readTemperature());
  Serial.println(" °C");

  Serial.print("Ambient pressure = ");
  Serial.print(bme.readPressure());
  Serial.println(" Pa");

  Serial.print("Relative humidity = ");
  Serial.print(bme.readHumidity());
  Serial.println(" percent");
  Serial.println();

  Serial.print("Pressure altitude = ");
  Serial.print(bme.readAltitude(1013.25f)); // 101325 Pa (i.e., std pressure)
  Serial.println(" meters");
  Serial.println();
}

bool written = false;

