1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#ifndef MELVIX_RTC_H #define MELVIX_RTC_H #include <stdint.h> uint8_t second; uint8_t minute; uint8_t hour; uint8_t day; uint8_t month; unsigned int year; void read_rtc(); void rtc_print(); #endif