登录
首页 » SCM » 实现公历与农历的转换一般采用查表法按日查表是速度最快的方法但51 单片机寻址能力有限不可能采用 按日查表的方法除按日查外我们可以通过按月查表和按年查表的方法...

实现公历与农历的转换一般采用查表法按日查表是速度最快的方法但51 单片机寻址能力有限不可能采用 按日查表的方法除按日查外我们可以通过按月查表和按年查表的方法...

于 2022-06-25 发布 文件大小:3.22 kB
0 105
下载积分: 2 下载次数: 1

代码说明:

实现公历与农历的转换一般采用查表法按日查表是速度最快的方法但51 单片机寻址能力有限不可能采用 按日查表的方法除按日查外我们可以通过按月查表和按年查表的方法再通过适当的计算来确定公历日所对应的 农历日期本文采用的是按年查表法最大限度地减少表格所占的程序空间-Limited can not be used In addition to a daily look-up table method of daily things that we can search through monthly and annual look-up table look-up table method and through the appropriate calculations to determine the calendar day corresponding to the Lunar date of this paper is the annual table look-up table method to minimize the space occupied by program

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • USB source code, including the PC client and single
    USB程序源代码,包括PC端和单片机端.USB控制芯片为PIDUSBD12.-USB source code, including the PC client and single-chip client. USB controller chip for PIDUSBD12.
    2022-04-30 19:17:31下载
    积分:1
  • 12864显示程序(AVR串行接口),包括浮点数字显示功能
    12864显示程序(AVR串行接口),包括浮点数字显示功能-12864 display program (AVR serial interface), including floating-point digital display
    2022-03-12 23:24:04下载
    积分:1
  • 在计数器
    用8253-8255编写的定时响铃程序 可以定时两个时间点,很经典的程序-spent 8253-8255 prepared by the regular beep procedures regular two points in time, classic procedures
    2022-02-05 05:48:52下载
    积分:1
  • 单片机AT89S52控制MFRC500以及MAX485实现读取IC卡信息和多机通信功能-Single-chip AT89S52 control MFRC500 and IC card reader to achieve MAX485 information and multi-machine communication
    2022-02-05 08:28:37下载
    积分:1
  • ATMEG88 AVR 实时时钟的实现
    ATMEG88 AVR 实时时钟的实现-ATMEG88 AVR realization of real-time clock
    2022-02-06 07:34:22下载
    积分:1
  • The solar energy is charged and go against and change and control and include th...
    太阳能充电与逆变控制包括电路图和值得参考的内容
    2022-04-19 04:46:03下载
    积分:1
  • proteus与avr结合开发的单片机程序,实现走表功能
    proteus与avr结合开发的单片机程序,实现走表功能-proteus and avr microcontroller combined with the development of procedures to achieve functional walking table
    2023-01-01 15:00:26下载
    积分:1
  • 本文件是一个3*4键盘扫描显示程序, 初学者往往对此类问题感到头疼, 本人特上传一个供大家参考....
    本文件是一个3*4键盘扫描显示程序, 初学者往往对此类问题感到头疼, 本人特上传一个供大家参考.-This document is a 3* 4 keyboard scan showed procedures, beginners often on such issues headache, I would like for you to upload a reference.
    2022-11-24 17:00:02下载
    积分:1
  • 关于如何提高速度的单片机,包括硬件和软件就怎么做了…
    讲述如何提高单片机的运行速度,包括硬件上和软件上如何做相应的设计-on how to improve the speed MCU, including hardware and software on how to do the design accordingly
    2023-08-13 20:20:02下载
    积分:1
  • 急救车与交通灯)(1)南北与东西方向,每个方面由红黄绿三个灯控制(2)南北向: 红(30秒),黄(5秒),绿(25秒)   东西向: 红(35秒),黄(5秒),...
    急救车与交通灯)(1)南北与东西方向,每个方面由红黄绿三个灯控制(2)南北向: 红(30秒),黄(5秒),绿(25秒)   东西向: 红(35秒),黄(5秒),绿(25秒)   上述基本参数可以根据实际情况自行调整,灯的变化规律与实际路口规律相同,绿灯在最后5秒钟时,黄灯亮,然后红灯亮,不允许两个方面同时亮绿灯。(3)绿灯的时间显示在数码管上进行显示。(4)可以通过一个开关控制,当开关信号为0时,整个交通灯全灭提高要求:(1)设计一个紧急控制开关信号,当紧急开关信号为1时,两个方向的灯全为红灯。紧急开关撤消后,按照开关按下之前的状态继续运行(其参数要保存)。(2)设计一个夜间行车开关,当开关按下后,两个方向都只有黄灯闪烁,其它灯熄灭。(3)设计两个方向的亮时时间可调。-emergency vehicles and traffic lights) (1) North and South and east-west direction, each with three yellow-green from red lights control (2) to the north and south : red (30 seconds), yellow (5 seconds), Green (25 seconds) to things : red (35 seconds), yellow (5 seconds) Green (25 seconds) above basic parameters can be adjusted to the actual situation, the light changes with the actual law of the same intersection, the green light in the final five seconds, the yellow light is on, and then a red light, bright, not two fronts simultaneously bright green. (3) the green light at the time displayed on the digital display control. (4) can be controlled by a
    2022-01-22 01:28:42下载
    积分:1
  • 696518资源总数
  • 105665会员总数
  • 6今日下载