1000) {  IntCnt=0;  SecFlag=1;  } switch(++Counter%5)    //显示功能  {   case0:  -IMDN开发者社群-imdn.cn"> 1000) {  IntCnt=0;  SecFlag=1;  } switch(++Counter%5)    //显示功能  {   case0:   - IMDN开发者社群-imdn.cn">
登录
首页 » 电子书 » 时钟闪烁移动

时钟闪烁移动

于 2022-03-02 发布 文件大小:1.47 MB
0 198
下载积分: 2 下载次数: 1

代码说明:

#include"reg51.h" sbit SET_K    = P1^0; //设置 sbit PLUS_K   = P1^1;//左移加1 sbit SHIFT_K  = P1^2;//左移 sbit CHANGE_K = P1^3;//切换 年、月、日 bit SecFlag = 0;         bit FlashFlag = 0; unsigned int Counter = 0; unsigned char Led0,Led1,Led2,Led3,Led4; unsigned char Shift; code unsigned char LedSeg[10] = {0x3f,0x06,0x5B,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f}; void Time0() interrupt 1 // 0: EX0 1:Time0 2: EX1 3: Time1,4:serial     中断 {  static unsigned int IntCnt;  TH0 = 0xfc;  TL0 = 0x66;    if(++IntCnt > 1000)  {   IntCnt = 0;   SecFlag = 1;   }  switch(++Counter%5)     //显示功能   {    case 0:   

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

发表评论

0 个回复

  • 本书是关于Linux命令的分类集合,主要针对已有的《Linux命令宝典大全》及《Linux_CmdList》的不足...
    本书是关于Linux命令的分类集合,主要针对已有的《Linux命令宝典大全》及《Linux_CmdList》的不足----目录名称太长(包含有网站名称)以至于不便查找----进行了改进,使之简洁而实用。-the book is on the order of Linux clustering. has been targeted at the "Linux book orders Solutions" and "Linux_CmdList" insufficient---- directory name is too long (including a web site name) inconvenience you-so by improving make it concise and practical.
    2022-07-18 02:11:59下载
    积分:1
  • c语言发音程序,可以对pc机低成进行炒作,实例
    c语言发音程序,可以对pc机低成进行炒作,实例-c language pronunciation procedures can be carried out low-cost pc hype machine, examples of
    2022-01-28 09:51:15下载
    积分:1
  • The book is divided into two parts: the first part is a C language programming s...
    这本书分两个部分:第一部分是C语言程序设计技巧,第二部分是C++语言程序设计技巧.本书由浅入深的介绍编程的技巧,适合初学者.-The book is divided into two parts: the first part is a C language programming skills, the second part is the C++ language programming skills. This book easy-to-digest introduction to programming skills, suitable for beginners.
    2022-03-14 08:19:14下载
    积分:1
  • PERL5中文教程
    PERL5中文教程-PERL5 Chinese Guide
    2023-08-12 02:15:02下载
    积分:1
  • I/O 格式设置和分析字符串
    字符串函数在计算机编程语言中用于操作字符串或查询有关信息的字符串 (一些做两个)。 有字符串数据类型的大多数编程语言将会有一些字符串函数,虽然可能有其他低级方法内的每种语言直接处理字符串。在面向对象语言中,字符串函数通常实现为字符串对象的属性和方法。在基于列表的功能和语言中字符串表示为 (字符代码) 的列表,因此所有列表操作程序可以都考虑字符串函数。然而这种语言可能实现,以及明确的字符串特定功能的一个子集。 最基本的实例的字符串是函数的length(string)函数。此函数返回字符串的长度。
    2022-10-06 08:00:03下载
    积分:1
  • 本软件提供了VC++中调用Matlab.m函数编译后的动态链接库.Matlab的数值处理能力很强,用VC++调用Matlab函数可以解决很多问题...
    本软件提供了VC++中调用Matlab.m函数编译后的动态链接库.Matlab的数值处理能力很强,用VC++调用Matlab函数可以解决很多问题-The software provides a VC Calling Matlab.m function compiled the dynamic link library. Matla b numerical processing capacity strong, with VC Calling Matlab function can solve many problems
    2022-01-25 23:41:08下载
    积分:1
  • Book Name :
    Book Name :- Embedded Systems Architecture - A Comprehensive Guide for Engineers and Programmers - By :- T. Noergaard (Newnes, 2005)-Book Name :- Embedded Systems Architecture- A Comprehensive Guide for Engineers and Programmers- By :- T. Noergaard (Newnes, 2005)
    2023-02-01 18:00:04下载
    积分:1
  • " Visual C++ wavelet transform technology and engineering practice," Au...
    《Visual C++小波变换技术与工程实践》 作者:靳济芳。书上的代码。第6章:小波变换在图像编解码中的应用。包括:静态图像的零树小波编码,图像的解码的代码,供大家参考。-" Visual C++ wavelet transform technology and engineering practice," Author: Ji Jin-fang. On the code book. Chapter 6: Application of wavelet transform in image codec application. Include: a static image of the zero-tree wavelet encoding, decoding the image code for your reference.
    2022-04-26 10:44:27下载
    积分:1
  • 中文译名《最优C/C++编程秘诀》。书中对new/delete、malloc/free,构造/析构函数等等C/C++难点问题有详细深入的讲解。
    中文译名《最优C/C++编程秘诀》。书中对new/delete、malloc/free,构造/析构函数等等C/C++难点问题有详细深入的讲解。-Hansard "optimal C/C programming tips." Book of the new/delete and malloc/free, Construction/destructor function, etc. C/C difficult issues detailed, in-depth explanation.
    2023-01-04 01:30:05下载
    积分:1
  • Anew trend is creeping into video games at an incredible rate. This trend make...
    Anew trend is creeping into video games at an incredible rate. This trend makes games more realistic, more believable, and in some cases, more fun.
    2022-03-23 03:57:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载