 
 // SD card libraries
 #include <BlockDriver.h>
-//#include <FreeStack.h> // something is wrong with this library.
+#include <FreeStack.h> // something is wrong with this library.
 #include <MinimumSerial.h>
 #include <SdFat.h>
 #include <SdFatConfig.h>

// For more info, see "setupable.h".
//custom::Setupable* setupables[] = {  };


void setup_objects() {
  custom::setup<>(sd_card, "ERROR: SD card could not be found or setup...", "Success: SD card ready.");
  custom::setup<>(bme, "Could not find a valid BME280 sensor...", "Success: BME280 ready.");
}

void setup() {
  // Illuminate LED.
  pinMode(13, OUTPUT);
  digitalWrite(13, HIGH);

  // Give time to open serial monitor.
  delay(3000);
  
  // Start serial communication. 
  Serial.begin(9600); // bits/second does not matter for Teensy 3.6
  Serial.print("In setup");
  delay(512);
  Serial.print(".");

  Serial.println();
  Serial.println("SETUP COMPLETE.");
  Serial.println();
} // setup()

void write_to_sd(void) {
  auto log_path = "nolan-test.log";
