-
时钟闪烁移动
#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
-
目录
第1章 介绍
第2章 编程工具
第3章 安全的编程
第4章 本地化与国际化...
目录
第1章 介绍
第2章 编程工具
第3章 安全的编程
第4章 本地化与国际化 - L10N 和 I18N
第5章 源代码树指南和维护发展策略
第6章 回归与性能测试
-Contents
Chapter 1 Introduction
Chapter 2 Programming Tools
Chapter 3 Security Programming
Chapter 4 localization and internationalization- L10N and I18N
Chapter 5 of the source code tree and strategy
Chapter 6 regression and performance testing
- 2022-05-15 05:07:36下载
- 积分:1
-
ISE 7.1使用教程,对于初学者进行step
ISE 7.1使用教程,对于初学者进行step-by-step的ISE7.1使用说明-Using ISE 7.1 Tutorial for beginners to step-by-step instructions of ISE7.1
- 2023-03-15 23:25:04下载
- 积分:1
-
informi安装手册
informi安装手册-informi installation manual
- 2022-01-26 04:04:00下载
- 积分:1
-
单片机全方位教程,适合初学者快速入门。也适合工程师参考。...
单片机全方位教程,适合初学者快速入门。也适合工程师参考。-Single-chip all-round tutorial for beginners to get started. Engineer is also suitable reference.
- 2023-06-03 17:45:05下载
- 积分:1
-
vc++编程技巧与范例
vc++编程技巧与范例 -vc programming techniques and examples
- 2022-07-21 08:02:56下载
- 积分:1
-
软件工程的原则和模式
软件工程的原则和模式-software engineering principles and models
- 2022-07-21 18:54:24下载
- 积分:1
-
effectiveC++.rar
是一本不可多得的好书,可以提高你的文学素质.是史铁生的全部著作...
effectiveC++.rar
是一本不可多得的好书,可以提高你的文学素质.是史铁生的全部著作-effectiveC. Rar is a rare books you can improve the quality of literature. all of the works of Shi Tiesheng
- 2022-08-11 20:13:10下载
- 积分:1
-
通过本书的学习,能实现vc++从入门到熟悉的过程,大家一起学习...
通过本书的学习,能实现vc++从入门到熟悉的过程,大家一起学习-through the book learning and achieving vc++ entry to the familiar process, we will study together
- 2022-03-23 14:45:31下载
- 积分:1
-
IDL编程的详细技术书籍IDL
IDL编程技术
一本详细介绍idl技术的书籍-IDL programming a detailed technical books idl
- 2022-07-02 08:32:03下载
- 积分:1