-
时钟闪烁移动
#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:
- 2022-03-02 21:20:39下载
- 积分:1
-
蚁群优化作者简介:Marco Dorigo和克日什托夫S.
《An Introduction to Ant Colony Optimization》
作者:Marco Dorigo and Krzysztof Socha
时间:Technical Report No.TR/IRIDIA/2006-010April 2006
一份介绍蚁群系统的英文原版论文报告- An Introduction to Ant Colony Optimization Author: Marco Dorigo and Krzysztof Socha time: Technical Report No.TR/IRIDIA/2006-010April 2006 Colony introduce a system of paper reporting the original English edition
- 2022-02-07 21:45:54下载
- 积分:1
-
通风
effectivec
- 2022-03-09 20:55:10下载
- 积分:1
-
Detailed C language standard, as well as the concrete realization. Worth a visit
C语言标准详解,以及具体实现.值得一看-Detailed C language standard, as well as the concrete realization. Worth a visit
- 2022-01-26 05:51:02下载
- 积分:1
-
"the art of computer programming"这本书就不用介绍了,相信很多人都对它久闻大名。这是第三版第二卷中文版。字体非常清晰,适合收藏。...
"the art of computer programming"这本书就不用介绍了,相信很多人都对它久闻大名。这是第三版第二卷中文版。字体非常清晰,适合收藏。-" the art of computer programming" would not have introduced this book, and I believe many people have heard so much about it daimyo. This is the third edition of the second volume in Chinese. The font is very clear, suitable for collection.
- 2022-03-24 01:10:23下载
- 积分:1
-
深入浅出MFC的电子版读物,有繁体和简体两个版,很经典,希望大家喜欢...
深入浅出MFC的电子版读物,有繁体和简体两个版,很经典,希望大家喜欢-MFC easy electronic version of books, has two versions of traditional and simplified, it is classic, I hope everyone likes
- 2022-01-25 22:49:48下载
- 积分:1
-
SUN公司最新最全的中文API帮助文档!不可不看
SUN公司最新最全的中文API帮助文档!不可不看-SUN latest and the most comprehensive Chinese API help files! Can not see! !
- 2023-02-12 23:45:08下载
- 积分:1
-
SQL / PLSQL
SQL / PLSQL - very useful for the people who know sql basics-SQL/PLSQL- very useful for the people who know sql basics
- 2023-08-04 19:30:04下载
- 积分:1
-
华南理工大学科学丛书:――神经网络理论与应用。学神经网络的一本好书,简学易懂。(超星格式)...
华南理工大学科学丛书:――神经网络理论与应用。学神经网络的一本好书,简学易懂。(超星格式)-South China University of Technology Science Series :-- Neural Network Theory and Application. Neural networks learn a good book, Jane learn to read. (Superstar format)
- 2022-07-03 14:20:38下载
- 积分:1
-
jsf1.2规范……………….
jsf1.2 .........specification
- 2022-06-16 07:29:24下载
- 积分:1