This library provides methods for communicating with the PT7C4339 RTC IC over I2C. It enables users to read and set the current time and date, manage the square wave output, control the trickle charger, and use the control mechanisms of the device. More info on the GitHub page: https://github.com/depben/PT7C4339-RTC
begin(): Initializes the I2C bus, ensures the device is in 24-hour mode, and checks for stop flag.getTime(), setTime(): Retrieve or set the current time (hours, minutes, seconds).getDate(), setDate(): Retrieve or set the current date (year, month, day, weekday).getHour(), setHour(), etc.getIntOrSqwFlag(), setIntOrSqwFlag().getSqwFrequency(), setSqwFrequency().isA1IntEnabled(), enableA1Int(): Check or set if alarm 1 can trigger INT/SQW output.getA1Flag(), clearA1Flag(): Check or clear alarm 1 match flag.getA1Rate(), setA1Rate(): Get or set alarm 1 match rate.getA1Time(), setA1Time(): Get or set alarm 1 time (hour, minute, second).getA1DayDate(), setA1DayDate(): Get or set alarm 1 day/date (by day or weekday).isA2IntEnabled(), enableA2Int(): Check or set if alarm 2 can trigger INT/SQW output.getA2Flag(), clearA2Flag(): Check or clear alarm 2 match flag.getA2Rate(), setA2Rate(): Get or set alarm 2 match rate.getA2Time(), setA2Time(): Get or set alarm 2 time (hour, minute).getA2DayDate(), setA2DayDate(): Get or set alarm 2 day/date (by day or weekday).isOscillatorEnabled(), enableOscillator().getRtcStopFlag(), clearRtcStopFlag().isIntFromBatteryEnabled(), enableIntFromBattery().getTrickleChargerEnabled(), getTrickleChargerDiode(), getTrickleChargerResistor(), setTrickleChargerConfig().reset(): Restores all registers to their default power-on values.