User guide

73
VTB USER GUIDE
REAL TIME CLOCK (RTC)
When files are created in the relative fields of the FAT the actual date and time are written. For this in the same object
there are the reading and writing functions of the real time clock. All the information pass in a defined structure
names RTC.
Syntax
RTC.Read() as void
Read the Real Time Clock
RTC.Write() as void
Write in the Real Time Clock
Structure RTC
RTC.year Year (0-99)
RTC.month Month (1-12)
RTC.day Day (1-31)
RTC.dweek Day of week (0-6)
RTC.hour Hour (0-23)
RTC.min Minute (0-59)
RTC.sec Second (0-59)