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

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

于 2022-05-29 发布 文件大小:2.37 kB
0 103
下载积分: 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 个回复

  • 读PSID
    调用动态链接库的API实现小灵通手机的PSID读取,有工程文件和生成的文件,还在测试用的DLL(Call the API of the dynamic link library to implement the PSID reading PSID of the PHS , with engineering files and generated files, and also in the test DLL)
    2018-02-11 16:10:53下载
    积分:1
  • RGBLedCtrl
    基于飞凌单片机(8 pe53)三色LED驱动程序(Based on the fly ling microcontroller (8 pe53) three color LED driver)
    2021-01-11 13:18:49下载
    积分:1
  • 6919470
    采用WINDDOWSSDK写的按钮界面,其中详细的展现了按钮控件的各个属性的操作(Using the button interface written by WINDDOWSSDK, which details the button control of the various properties of the operation)
    2018-10-27 19:15:10下载
    积分:1
  • 现代数字信号处理课程相关课后代码
    资源描述数字信号处理课本课后相关实验仿真,其中包括信号相关函数的代码,有无信号时相关函数的代数值,直射波加两个反射波后的效果以及均衡后的效果
    2022-11-20 02:55:03下载
    积分:1
  • DrivingSchoolManage
    基于.net开发的驾校管理系统,可以直接运行部需要修改配置(.net for school system demo)
    2021-02-11 15:39:51下载
    积分:1
  • 读写内部FLASH
    利用stm32对外部flash进行读写,(Using STM32 to read and write external flash)
    2018-06-13 19:12:57下载
    积分:1
  • 局域网文件传输
    局域网文件传输
    2014-12-18下载
    积分:1
  • 进口关税查询系统 1.0 件是从事外贸进口业务人员的必备查询资料,该程序为试用版本,您可以任意拷贝、散发,如您对该软件有何意见请及时通知我,如果您对该软件满意,...
    进口关税查询系统 1.0 件是从事外贸进口业务人员的必备查询资料,该程序为试用版本,您可以任意拷贝、散发,如您对该软件有何意见请及时通知我,如果您对该软件满意,请您注册,我会及时将完整版本用Email发送给您,如果不注册也不会影响您的使用,您可自行添加数据,但不会享受以后软件升级及其他的服务。-import tariffs Inquiry System 1.0 is engaged in foreign trade import business for the required information on the procedures for the trial version, you can copy arbitrary and distributed, if you have any views on the software please inform me in time, if you satisfied with the software, you have registered, I will promptly a complete version of Email sent to you, if you are not registered will not affect your use, you can add their own data, but not receive future software upgrades and other services.
    2023-04-11 08:55:04下载
    积分:1
  • MFC121751
    适合新手。控件是Windows 图形用户界面的主要组成部分之一,用户通过操作控件对象完成与应用程序之间的交互。控件的使用集中体现了Windows 系统面向对象的特点(Suitable for novices. Control is one of the major components of the Windows graphical user interface, user interaction with the application control subjects completed between. Use controls epitomizes the object-oriented features of Windows systems)
    2013-12-19 12:20:20下载
    积分:1
  • AX2227_BTBOXSDK_V110_20141010
    建荣蓝牙芯片的相关资料,常用的工具,文档说明(Info Jianrong Bluetooth chip, commonly used tools, documentation)
    2016-01-25 10:59:31下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载