  * 
  * Copyright 2013 Joseph Lewis <joehms22@gmail.com>
  **/
+ 
+// DEFINES
 
 #include <Arduino.h>
 #include <Wire.h>

    speedBucket(currentTime, mph);
    lastVelocity = mph;
    lastTime = currentTime;

    reportValues();
  }



  loopCounter++;
  // wait to log another item
  delay(SECONDS_BETWEEN_READS * 1000);
}

/**

  if(velocity < lastVelocity)
  {
    float brakeSpeed = ((float)lastVelocity - velocity) / (time - lastTime);
    if(hadHardBrake == false && brakeSpeed > MAX_SAFE_DECEL_MPH)
    {
      hadHardBrake = true;
      trip.hardBrakeCount++;
