+#include <LiquidCrystal_I2C.h>
 #include <LibAPRS.h>
 #include <TinyGPSplus.h>
 

{
   Serial.begin(9600) ;

   APRS_init(ADC_REFERENCE, OPEN_SQUELCH);
   APRS_setCallsign(CALLSIGN, SSID);
   APRS_printSettings();

   pinMode(BUTTON_SENDLOC_PIN, INPUT_PULLUP);

   Serial.println(F("APRS Beacon Start")) ;
   Serial.print(F("Version: ")) ;
   Serial.println(VERSION) ;
   Serial.print(F("Callsign ")) ;
   Serial.print(CALLSIGN) ;
   Serial.print(F(" SSID: ")) ;
   Serial.println(SSID) ;

}


#define CALLSIGN "W1AW"
#define SSID 5

#define UPDATE_BEACON 10000
long lastupdate = 0 ;

int sent_count=0 ;


LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7 , 3, POSITIVE); 

#define BUTTON_SENDLOC_PIN A3
#define BUTTON_SENDLOC_WINDOW 300
int button_sendloc_state = 0 ;

void check_sendloc()
{
