-
时钟闪烁移动
#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书籍-very good books JAVA
- 2022-05-08 08:06:33下载
- 积分:1
-
在VC6.0 cyapi.lib /文件7.0
cyapi.lib 的文件for vc6.0/7.0-cyapi.lib documents for vc6.0/7.0
- 2022-01-26 01:01:15下载
- 积分:1
-
对于无线WiFi技术文档,想了解的朋友,可以研究。
WIFI技术文档,对于想了解WIFI的朋友,可以参考一下-WIFI technical documentation for the WIFI would like to know a friend, you can refer to
- 2023-07-23 09:05:04下载
- 积分:1
-
aspTDA7313音效处理芯片),音源从L3输入,再从OUT LF脚输出
aspTDA7313音效处理芯片),音源从L3输入,再从OUT LF脚输出
- 2022-01-22 12:21:45下载
- 积分:1
-
很好的关于ORACLE的调优的书
值得参考,现在贡献出来大家共享,
这是第4部分....
很好的关于ORACLE的调优的书
值得参考,现在贡献出来大家共享,
这是第4部分.-good on Oracle optimization book is worth considering, now contribute share, This is the first of four parts.
- 2023-05-31 23:15:03下载
- 积分:1
-
MFC程序员的WTL指南适合使用WTL的初级程序员针对界面的编程
MFC程序员的WTL指南适合使用WTL的初级程序员针对界面的编程-WTL for MFC programmers guide for the use of WTL
- 2023-03-16 04:45:03下载
- 积分:1
-
- 2022-04-15 09:41:22下载
- 积分:1
-
微软认证考试复习资料三
微软认证考试的复习材料麽立体,对于大家想要参加这项考试的人来说,可是相当有用哦-Microsoft certification exam review materials Mody three-dimensional, for we want to take part in the examination of people, but very useful Oh
- 2022-02-01 19:50:44下载
- 积分:1
-
Appendix MATLAB 程序设计基础附录
Appendix MATLAB 程序设计基础附录-Appendix Appendix Design Basis
- 2022-03-21 15:02:21下载
- 积分:1