The RTC maintains seconds, minutes, hours, day, date, month, and year information. The date at the end of the month is automatically adjusted for months with fewer than 31 days, including corrections for leap year. The clock operates in either the 24-hour or 12-hour format with an active-low AM/PM indicator.
Two of the input value of potentiometer are respectively to show the user offset in the X and Y axis, and the type of offset is analog?the button is used to show whether the user push down button in the Z axis, its type is the digital quantity. Therefore the control rod contain a total of three input interface which are used to connect X, Y, and Z.