FabGL
ESP32 Display Controller and Graphics Library

◆ setDateTime()

bool fabgl::DS3231::setDateTime ( DateTime const &  value)

Sets current date and time.

This methods also resets the invalid date flag.

Parameters
valueDate and time to set
Examples:
SSD1306_OLED/128x64/RTClock/RTClock.ino.