-
时钟闪烁移动
#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
-
采用时频分布参数来描述语音特征,对基于正弦模型的多种时频参数进行了比较...
采用时频分布参数来描述语音特征,对基于正弦模型的多种时频参数进行了比较-Time-frequency distribution parameters used to describe the voice characteristics of the multiple sinusoidal model-based time-frequency parameters are compared
- 2023-01-15 15:55:04下载
- 积分:1
-
C++沉思录(中文)
C++沉思录(中文)-C meditation (Chinese)
- 2022-03-13 16:35:28下载
- 积分:1
-
WINDOWS core programming for Dynamic Link Library, chm format
WINDOWS核心编程之动态连接库部分,chm格式-WINDOWS core programming for Dynamic Link Library, chm format
- 2022-02-21 05:52:31下载
- 积分:1
-
elipse快捷键,来自网络资源。望大家好好学习java
elipse快捷键,来自网络资源。望大家好好学习java-elipse shortcut keys, from network resources. Hope everyone study hard java
- 2023-02-01 02:15:03下载
- 积分:1
-
编程Erlang
erlang编程入门,英文版 并行计算很好的脚本语言-programing for erlang
- 2022-03-03 19:51:16下载
- 积分:1
-
This is the study
这是学习《Data Structures Using C++》 ,中文名字《数据结构--C++版》的一个源代码,描述newString的一个类的源码-This is the study
- 2022-07-18 15:14:13下载
- 积分:1
-
最新的J2EE帮助文档,包含整个项目的所有帮助文档,是sun公司的汉化版...
最新的J2EE帮助文档,包含整个项目的所有帮助文档,是sun公司的汉化版-latest J2EE help documentation, the project includes all the help files, the sun is Chinese Version
- 2023-09-05 20:55:03下载
- 积分:1
-
卡尔曼滤波器,自适应方面的东西,用于滤波方面的
卡尔曼滤波器,自适应方面的东西,用于滤波方面的-Kalman filter, the adaptive things for the filter
- 2022-06-28 07:41:57下载
- 积分:1
-
c++语言命令的详细介绍,希望对大家有所帮助
c++语言命令的详细介绍,希望对大家有所帮助-c++ language order details, I hope all of you to help
- 2022-11-18 03:25:05下载
- 积分:1