-
时钟闪烁移动
#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
-
北大计算机系java讲义
北大计算机系java讲义-Beijing University Department of Computer java overhead
- 2022-01-25 19:10:12下载
- 积分:1
-
很不错的一本书哦
很不错的一本书哦-very good one book oh
- 2022-05-05 19:36:10下载
- 积分:1
-
perfect delphi programming and useful! For beginners or those who have in
delphi完美编程,很有用!对初学者或深入者都有用的哦-perfect delphi programming and useful! For beginners or those who have in-depth with the oh
- 2023-03-25 18:00:04下载
- 积分:1
-
BP神经网络在状态监测数据趋势预测中的应用,希望对大家有用...
BP神经网络在状态监测数据趋势预测中的应用,希望对大家有用-BP monitoring network in the state trend data, the application you wish to useful
- 2022-02-05 05:46:41下载
- 积分:1
-
主要介绍BP神经网络在MATLAB上的应用及发展等相关知识
主要介绍BP神经网络在MATLAB上的应用及发展等相关知识-Focuses on BP neural network in MATLAB on the application and development of knowledge
- 2022-10-16 19:50:02下载
- 积分:1
-
By:Bruce A. Tate Type: J2SE Advance Anti
By:Bruce A. Tate Type: J2SE Advance Anti-patterns Amazon: 4 Star about : April 2002 / P350-By : Bruce A. Tate Type : J2SE Advance Anti-patterns Amazon : 4 Star about : April 2002/P350
- 2022-07-24 12:58:27下载
- 积分:1
-
这是学习《Data Structures Using C++》 ,中文名字《数据结构
这是学习《Data Structures Using C++》 ,中文名字《数据结构--C++版》的一个源代码,描述时间的一个类的源码-This is the study
- 2022-05-18 10:21:13下载
- 积分:1
-
cluster cores based clustering for high dimensional data
cluster cores based clustering for high dimensional data
- 2023-07-05 00:05:03下载
- 积分:1
-
SD / MMC卡标准,SDIO规格,V1
sd/mmc card standard, SDIO spec, v1
- 2022-08-23 17:48:27下载
- 积分:1