void myRtcGet()
{ byte rSec, rMin, rHour, rDOW, rDay, rMonth, rYear;
Wire.beginTransmission(DS3231_I2C_ADDRESS); // Open I2C line in write mode
Wire.write(0x00); // Set the register pointer to (0x00)
Wire.endTransmission(); // End Write Transmission
Wire.requestFrom(DS3231_I2C_ADDRESS, 7); // Open the I2C line in send mode
rSec = bcdToDec(Wire.read() & 0x7f); // Read seven bytes of data
rMin = bcdToDec(Wire.read());
rHour = bcdToDec(Wire.read() & 0x3f);
rDOW = bcdToDec(Wire.read());
rDay = bcdToDec(Wire.read());
rMonth = bcdToDec(Wire.read());
rYear = bcdToDec(Wire.read());
setTime(rHour,rMin,rSec,rDay,rMonth,rYear);
}