登录
首页 » c » 51单片机定时闹钟程序(带按键)

51单片机定时闹钟程序(带按键)

于 2022-05-29 发布 文件大小:2.37 kB
0 125
下载积分: 2 下载次数: 1

代码说明:

//////////////////包含头文件及宏定义//////////////////////////////////////#include#include#define uchar unsigned char#define uint  unsigned int/////////////////////////////////////////////////////////////////////////////////////////继电器响应动作指示灯//////////////////////////////////////sbit light=P1^0;sbit int0_ok=P3^2;sbit int1_ok=P3^3;/////////////////数码管的段位锁存////////////////////////////////////////sbit duan=P0^0;sbit wei=P0^1;uchar bit1,bit2,bit3,bit4,bit5,bit6;///////////////小时 分钟 秒钟显示码uchar fen=0;// 分钟缓存uchar miao=0;//秒缓存uchar shi=0;//小时缓存uchar key_temp;/////按键暂存//uchar key_old;uchar key_count;//按键计数uchar key_back;/////按键备份uchar key_data;//////按键数值uchar key_con;////uchar key_ok;uchar int0_function=0;///功能0,做调节始终uchar int1_function=0;///功能1,做运行停止用u

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

发表评论

0 个回复

  • Minix_brk
    Minix下brk系统调用的改进与实现(含文档)(Minix improved under the brk system call)
    2020-07-02 23:00:01下载
    积分:1
  • OReilly.C.plus.plus.Cookbook
    OReilly.C.plus.plus.Cookbook.rar C++方面的书籍(C++ CookBook)
    2010-11-05 11:02:45下载
    积分:1
  • Kmeans
    Implementation of K-means algorithm used for vector quantization and clustering in C#
    2015-04-10 14:51:42下载
    积分:1
  • MUD西游记2005完整版
    wap网页文字游戏,mud客户端。下载直接可玩,里面有教程(WAP web text game, mud client. Download direct play, there are tutorials)
    2020-09-11 16:28:01下载
    积分:1
  • LCM08F18_08F003_20190404_SDK_V01
    说明:  领芯单片机LCM08F18_08F003例程,芯片与市面上大部分003单片机pin对pin(Lcm08f18 complete set of information)
    2021-03-23 23:49:15下载
    积分:1
  • C 语言开发的日历
    C 语言开发的日历,在我刚学习时给了我很多的启发。
    2022-06-22 01:56:06下载
    积分:1
  • 编译原理课程设计报告LL1文法
    说明:  课程设计的目的 通过课程设计进一步理解高级语言在计算机中的执行过程,加深对编译原理中重点算法和编译技术的理解,提高自己的编程能力,培养好的程序设计风格。同时通过某种可视化编程语言的应用,具备初步的Windows环境下的编程思想。解和掌握LL(1)语法分析方法的基本原理;根据给出的LL(1)文法,掌握LL(1)分析表的构造及分析过程的实现。 (curriculum design through curriculum design aimed to further understand senior in computer language of the implementation process, enhance the focus of compiler theory algorithm and compiler technology understanding, enhance their programming ability, and cultivate good programming style. Through some kind of visual programming language applications, with the initial Windows programming environment ideology. Xie and master LL (1) syntax analysis of the basic tenets; According given LL (1) grammar, master LL (1) analysis of the structure and table analysis is achieved.)
    2005-09-02 12:04:11下载
    积分:1
  • mfc
    《深入浅出MFC》附带光盘里面的内容,有书上全部的源代码!(Head MFC comes with the disc inside, all the source code in the book!)
    2012-08-09 15:04:22下载
    积分:1
  • MFC选课系统
    用vc6.0做的一个学生选课系统,用mfc做的界面
    2023-02-19 12:00:04下载
    积分:1
  • C# listview 扩展 示例源码
    C# listview 扩展 示例源码
    2013-10-02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载