RTC sync with GPS v1.2

This commit is contained in:
Andrey Pazychev
2025-06-14 22:26:02 +03:00
parent fc069bd63e
commit 893a5d2db4
4 changed files with 102 additions and 38 deletions

View File

@@ -39,8 +39,8 @@ extern bool NewHour; // pass to main ino = Hour ready to print
extern time_t Loc_t, RTC_t; // pass to main ino = Local timestamp
extern bool gps_on;
extern volatile bool GPS_sec, RTC_sec;
extern unsigned long RTCMillis, GPSMillis;// call from main ino, GPS_RTC_Clock.h
extern volatile bool GPS_sec, RTC_sec, RTC_sync;
extern unsigned long RTCMicros, GPSMicros;// call from main ino, GPS_RTC_Clock.h
extern LiquidCrystal_I2C lcd;
void GPS_RTC_Clock_setup();