RTC — Real Time Clock

class rtc.RTC

This class represents the onboard Real Time Clock. It is a singleton and will always return the same instance.

datetime

The date and time of the RTC.

calibration

The RTC calibration value. A positive value speeds up the clock and a negative value slows it down. Range and value is hardware specific, but one step is often approx. 1 ppm.