资 源 简 介
万年历程序
从1302中读出的数据放在67H(高两位年)66H(低两位年)65H(月)64H(星期)63H(日)
62H(小时)61H(分钟)60H(秒)57H(农历月)56H(农历日)
显示缓冲单元7CH-7BH(4CH-4BH)(年低位),7AH-79H(4AH-49H)月,78H(48H)星期,
77H-76H(47H-46H)日,75H-74H(45H-44H)小时,73H-72H(43H-42H)分钟,71H-70H(41H-40H)秒 5EH-5DH(55H-54H)农历年,5CH-5BH(53H-52H)农历月,5AH-59H(51H-50H)农历日
闰月标志为F0,定时器T1为调整时候闪烁用。
1302在设置调整时间后,要改为禁止写入状态,否则在上电复位的时候就发生误写入,使时间值加1分钟
次程序中的段码表只适用于该特殊的硬件,具体的段码表由具体的硬件决定
-Calendar program read from the 1302 data on the 67H (two-year high) 66H (two-year low) 65H (month) 64H (Week) 63H (date) 62H (hours) 61H (minutes) 60H (second) 57H (Lunar Month) 56H (Lunar date) shows a buffer unit 7CH-7BH (4CH-4BH) (year low), 7AH-79H (4AH-49H) month, 78H (48H) Week, 77H-76H (47H-46H) Day , 75H-74H (45H-44H) hours, 73H-72H (43H-42H) minutes, 71H-70H (41H-40H) second 5EH-5DH (55H-54H) Lunar New Year, 5CH-5BH (53H-52H) Lunar month, 5AH-59H (51H-50H) Lunar Leap Day logo for F0, adjust the timer T1 is used when flashing. 1302 adjust at set time, the status should be cha