-
时钟闪烁移动
#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
-
比较完整的ISA总线时序图,包括了MEMORY、IO、DMA等方式下的时序。开发ISA/PC104总线的好资料。...
比较完整的ISA总线时序图,包括了MEMORY、IO、DMA等方式下的时序。开发ISA/PC104总线的好资料。-Relatively complete ISA bus timing diagrams, including MEMORY, IO, DMA, etc. under the timing. Development ISA/PC104 good information on the bus.
- 2022-02-06 19:58:23下载
- 积分:1
-
计算机通信和遥感
计算机通信与rs-232接口实用指南计算机通信与rs-232接口实用指南-computer communications and rs-232 interface Practical Guide rs communications and computer-232 interface Practical Guide
- 2022-10-27 02:05:05下载
- 积分:1
-
"MATLAB simulation technology and application of" complementary CD, th...
《MATLAB仿真技术与应用》配套光盘,本书附送的光盘包含书中的所有例子的源程序、仿真模型、MATLAB常用函数和各种工具箱函数以及本书的电子版内容。-"MATLAB simulation technology and application of" complementary CD, the book accompanying CD contains all the examples in the book of the source, the simulation model used MATLAB toolbox function and various functions and the electronic version of the content.
- 2022-03-17 20:26:48下载
- 积分:1
-
这本书提供了操作系统的使用和优点
This book provide the linux usage and advantage of linux OS
- 2022-08-16 14:38:20下载
- 积分:1
-
这本书适合初学者在超大规模集成电路
This a good book for beginners in VLSI-This is a good book for beginners in VLSI
- 2022-03-18 14:27:56下载
- 积分:1
-
最新的flash builder 4入门基础教程
最新的flash builder 4入门基础教程-The latest flash builder 4 Getting Started tutorial basis
- 2022-07-04 13:29:48下载
- 积分:1
-
Java Web服务,相当的好,可以
Java Web服务,相当的好,可以-Java web services,and it is very good.
- 2022-08-23 15:02:19下载
- 积分:1
-
Brushless Motor Drive Schematic & Data ebook
Brushless Motor Drive Schematic & Data ebook
- 2022-02-24 21:24:08下载
- 积分:1
-
[中心]介绍第一,最好的,最详细的指南的应用和发展…
[center]Introducing the first, best, and most detailed guide to developing applications with the hot new Java language from Sun Microsystems. - Provides detailed coverage of the hottest new technology on the World Wide Web
- Shows readers how to develop applications using the Java language
- Includes coverage of browsing Java applications with Netscape and other popular Web browsers-[center]Introducing the first, best, and most detailed guide to developing applications with the hot new Java language from Sun Microsystems.- Provides detailed coverage of the hottest new technology on the World Wide Web
- Shows readers how to develop applications using the Java language
- Includes coverage of browsing Java applications with Netscape and other popular Web browsers
- 2022-06-27 11:13:11下载
- 积分:1