Sketch for Arduino RTC, 7-segment LED and 74595