 #define MODE_NAVIGATE 2
 #define NUMBER_OF_MODES 3
 int mMode = MODE_MENU;
+/* Time in millis that the naivagtion should update new data or not */
+#define REFRESH_RATE 1000
+unsigned long lastUpdate = 0;
 
 //Store Waypoints
 #define MAX_WAYPOINTS 20

      newData = true;
    }
    updateHeading();
    updateDisplay(newData);

    //Update heading offset

// pins used 
//lcd  8, 9, 4, 5, 6, 7 A0
//gps 3,4
//mag A4 A5
//Heading Adjust A2

#include <LiquidCrystal.h>
#include <SoftwareSerial.h>
