FabGL
ESP32 Display Controller and Graphics Library

◆ dateTimeValid()

bool fabgl::DS3231::dateTimeValid ( )
inline

Determines the validity of datetime.

After calling setDateTime() the datetime becomes valid.

Returns
False indicates that the oscillator either is stopped or was stopped for some period and may be used to judge the validity of the timekeeping data.
Examples:
SSD1306_OLED/128x64/RTClock/RTClock.ino.