Clock and calendar program for 8051 microcontroller