资源简介

很早以前写的一个50年的万年历以及24节气程序,可以计算出现在距离最近的一个节气已经过了几天或者还差几天。

资源截图

代码片段和文件信息

/**************************************************************************************************
Calendar Function
Created by Victor Zhu @ about year 2007.09
Modified by Victor Zhu @ 2009.01.23
Version: 2.0
updated @ 2011.08.01
**************************************************************************************************/
#include 
#include “Calendar.h“

#define FIRSTYR 11 /*denotes the year of 2011*/

/*15-SLB-> The first festivalday of the month 15+MLB-> The second festivalday of the month*/
static const BYTE Festival_Day[40][12] PROGMEM = {
0x95 0xB4 0x96 0xA5 0x96 0x97 0x88 0x78 0x78 0x79 0x78 0x87 //2011 
0x96 0xB4 0xA5 0xB5 0xA5 0xA6 0x87 0x88 0x87 0x78 0x87 0x86 //2012 
0xA5 0xB3 0xA5 0xB5 0xA6 0xA6 0x87 0x88

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       3635  2011-12-19 14:42  MegaTimeV10.aps

     文件        325  2011-12-19 14:42  megatimev10.aws

     文件      21939  2011-12-19 14:42  MegaTimeV10.c

     文件      11712  2011-12-19 14:36  default\Calendar.o

     文件       2058  2011-12-19 14:36  default\dep\Calendar.o.d

     文件       2911  2011-12-19 14:41  default\dep\MegaTimeV10.o.d

     文件       1961  2011-12-19 14:41  default\Makefile

     文件         13  2011-12-19 14:41  default\MegaTimeV10.eep

     文件      33132  2011-12-19 14:41  default\MegaTimeV10.elf

     文件      38301  2011-12-19 14:41  default\MegaTimeV10.hex

     文件      36844  2011-12-19 14:41  default\MegaTimeV10.o

     文件       9181  2011-12-19 14:36  Calendar.c

     文件        535  2011-08-01 14:05  Calendar.h

     目录          0  2011-12-19 13:37  default\dep

     目录          0  2011-12-19 14:41  default

----------- ---------  ---------- -----  ----

               162547                    15


评论

共有 条评论