    return btnNONE;  // when all others fail, return this...
   }
 
-  void buttonread(){
-  
-  }

    pinMode(led, OUTPUT);
    //Setup input buttons
    pinMode(buttons, INPUT);
  }

  void loop(){ 
  //-------------------------------------------- this is all gps stuff. This is just the example code given from tiny gps library.
  //----------------------------------------------I deleted the part of the code for the time and date. I did not want it.
  
    bool newdata = false;
    unsigned long start = millis();
    while (millis() - start < 250)            // get new data every 1/4 of a second
    {
      if (feedgps())
        newdata = true;
    }
    
    if (newdata)
    {
      Serial.println("Acquired Data");
      Serial.println("-------------");
      gpsdump(gps);
      Serial.println("-------------");
     Serial.println();
    }
  }

  /**
  * Prints a floating point number to the Serial output
  */

#define btnLEFT   3
#define btnSELECT 4
#define btnNONE   5
//Menu System
#define MENU_LENGTH 4
char* mMenu[]={"Show Position", "Add Way Point", "Delete Way Point",
"Clear Way Points"};
int mMenuPosition = 0;

#define led 13
int x4=0;
