add GPS for nano g2

hardcoded interval of 1 minute after first fix obtained
This commit is contained in:
Rob Loranger
2025-05-18 15:38:57 -07:00
parent f9c0056955
commit 4a90042b08
5 changed files with 135 additions and 9 deletions

View File

@@ -27,11 +27,10 @@ void NanoG2Ultra::begin()
// for future use, sub-classes SHOULD call this from their begin()
startup_reason = BD_STARTUP_NORMAL;
// set user button
pinMode(PIN_BUTTON1, INPUT);
// the external notification circuit is shared for both buzzer and led
// need to find out the switch state or somehow write a function that can
// sound the buzzer or signal the led. the led will stay on once brought HIGH
// and can be then brought LOW. It turns off with a hardware btn.
pinMode(EXT_NOTIFY_OUT, OUTPUT);
digitalWrite(EXT_NOTIFY_OUT, LOW);