 float GYRO_SCALE;
 
 void setup() {
+  // Setup status LEDs.
+  pinMode(GREEN_LED, OUTPUT);
+  pinMode(RED_LED, OUTPUT);
+
+  // Indicate we're getting setup.
+  statusLight(0);
+
   // join I2C bus (I2Cdev library doesn't do this automatically)
   Wire.begin();
 

float scale(int16_t value, float scale_factor) {
  return value / scale_factor;
}

}

void loop() {
  // Indicate we're up and running.
  statusLight(1);

  int16_t ax, ay, az;  // g forces
  int16_t gx, gy, gz;  // degrees/second
  int16_t mx, my, mz;  // TODO: learn wtf data this is.
