

This library was written because other libraries I had seen seemed less than satisfactorily simple. It includes the ability to read and set the time/date, set up to 2 alarms (one with seconds precision, one with minutes precision), and the ability to read the current temperature with precision of up to 0.25 degrees C.Īdditionally the RTC is often found paired with an I2C EEPROM (usually AT24C32) which can be used for convenient data-logging purposes. The DS3231 is a precision Real Time Clock module using the I2C bus. Implements setting, getting the time/date, setting, checking and clearing alarms, and dead-easy circular-buffered logging of data with timestamp. Mydisplay.An Arduino Library for EASY communication with DS3231 I2C RTC Clock and Atmel AT24C32 I2C EEPROM commonly found on the same board. LedControl mydisplay = LedControl(4, 2, 3, 1) The use of MAX7219 and 2 of 4x7 Segment display.ĭate:- inputs: DIN pin, CLK pin, LOAD pin.


The count will be reset to zero once it reaches 9999.The count_two variable which is multiplication 7 of count, will be converted into BCD, and displayed at the 1,2,3 and 4th digits.The count_one variable which is duplicate of count, will be converted into BCD, and displayed at the 4,5,6 and 7th digits.The count variable updated by one count, at every 500mS.

The Arduino LedControl library is used for displaying digits on MAX7219.
