 
   delay(2000);
   lcd.clear();
+  
+  EEPROM.get(MAX_RECORD_KPH_ADDRESS, maxRecordKph);
+  if (isnan(maxRecordKph)) {
+    maxRecordKph = 0.0;
+  }
+
+  lcd.print("Max kph: ");
+  lcd.print(maxRecordKph);
+  lcd.setCursor(0,1);
+  lcd.print("Max mph: ");
+  lcd.print(kphToMph(maxRecordKph));
+  
+  delay(2000);
+  lcd.clear();
 }
 
 void loop() {

  if (isnan(cmps)) {
    cmps = 0.0; 
  }
  return cmps/10000.0 * 360.0;
}

double calculateMPH() {
   return kph * 1.6093;
}

*/

#include <math.h>
#include <EEPROM.h>
#include <LiquidCrystal.h>
#include <Wire.h>
#include <Adafruit_MMA8451.h>
