#ifndef _RTC_H #define _RTC_H #include "globals.h" #include // must be included here so that Arduino library object file references work #include extern RtcDS3231 Rtc; // Make RTCDS3231 instance globally availabe int rtc_init(void); int set_rtc(uint32_t UTCTime); int set_rtc(RtcDateTime now); uint32_t get_rtc(); float get_rtc_temp(); #endif