Simulation of the perpetual calendar displayed by LCD12864