 #include <MadgwickAHRS.h>
 #include <NewPing.h>
 #include <Wire.h>
+#include <Adafruit_MCP23017.h>
 #include <Adafruit_RGBLCDShield.h>
 #include <CurieBLE.h>
 
-// parameters indicated with a *** should be tuned to fit the door.
-
-// ULTRASONIC -- settings match for blackboard-hardware V1.0
 #define TRIGGER_PIN_1  12  // Arduino pin tied to trigger pin on the first ultrasonic sensor.
 #define ECHO_PIN_1     11  // Arduino pin tied to echo pin on the first ultrasonic sensor.
 #define TRIGGER_PIN_2  10  // Arduino pin tied to trigger pin on the second ultrasonic sensor.

  }
}

void printIfDebug(String message) {
  if (debug) {
    Serial.println(message);
  }
}

  microsBetweenReads = 1000000 / 2;     // must wait half a second between consecutive reads
  microsLastRead = micros();            // time since last movement detected

  // Indicate that setup is complete
  pinMode(ledPin, OUTPUT);
  digitalWrite(ledPin, HIGH);
