WIP
This commit is contained in:
@@ -24,8 +24,10 @@ bool SyncErr = true;
|
||||
DS3232RTC myRTC(0x68); // cfg_
|
||||
volatile bool RTC_sec = false; // flag for PseudoPPS
|
||||
static unsigned long RTCMillis; // blinking timer
|
||||
volatile unsigned long tmr_SQW;
|
||||
|
||||
void rtc_interrupt() {
|
||||
tmr_SQW = micros();
|
||||
//Serial.print("DEBUG[INT] RTC interrupt "); Serial.println(micros());
|
||||
RTCMillis = millis();
|
||||
RTC_sec = true;
|
||||
|
||||
Reference in New Issue
Block a user