#include <LiquidCrystal_I2C.h>
#include <DS3232RTC.h> // https://github.com/JChristensen/DS3232RTC
DS3232RTC myRTC;
LiquidCrystal_I2C LCD = LiquidCrystal_I2C(0x27, 20, 4);
void setup()
{
Serial.begin(115200);
myRTC.begin();
LCD.init();
LCD.backlight();
LCD.clear();
LCD.setCursor(0, 0);
LCD.print("Hello, world!");
}
void loop()
{
display();
delay(1000);
}
void display()
{
time_t t = myRTC.get();
int Minute = minute(t);
int Second = second(t);
}