-
时钟闪烁移动
#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
-
内容比较早,但写得较底层,包括bios,分区有等操作都的介绍,一共是两个文件pdf格式,应该有200多个源码《C语言编程实例》...
内容比较早,但写得较底层,包括bios,分区有等操作都的介绍,一共是两个文件pdf格式,应该有200多个源码《C语言编程实例》-Contents earlier, but well-written than the bottom, including bios, partition and other operations are the introduction there are a total of two files pdf format, there should be more than 200 source " C Language Programming Example"
- 2022-08-16 01:36:28下载
- 积分:1
-
C++
C++Primer3rdEdition被认为是C++入门的最经典入门书-C++
- 2022-07-11 22:14:18下载
- 积分:1
-
adhoc 研究时钟同步,很有借鉴意义,值得
adhoc 研究时钟同步,很有借鉴意义,值得-ADHOC study clock synchronization, referential significance, it is worth
- 2023-05-31 16:50:03下载
- 积分:1
-
This code is c++ Primer plus after
此代码是c++ primer plus例题课后题源代码-This code is c++ Primer plus after-school title Example source code
- 2023-06-12 13:20:03下载
- 积分:1
-
poi操作文档(包含java操作的api支持offic2007)
poi操作文档(包含java操作的api支持offic2007)-poi Operation document (including the java operations api support offic2007)
- 2022-02-03 06:00:54下载
- 积分:1
-
一般的登陆验证开发代码,关于pb 的
一般的登陆验证开发代码,关于pb 的-general landing test code on the pb
- 2022-07-26 22:39:34下载
- 积分:1
-
Modbus
Modbus协议中文版(GB)
没什么的 -Modbus
- 2022-01-30 18:43:30下载
- 积分:1
-
lcd12864显示器资料,介绍了lcd12864显示芯片的引脚和编程的原理...
lcd12864显示器资料,介绍了lcd12864显示芯片的引脚和编程的原理-lcd12864 display information on the lcd12864 display chip pin and programming principles
- 2022-11-01 11:40:03下载
- 积分:1
-
这是dhmtl 手册 可以学习或者参考 开发是个好东西哦
这是dhmtl 手册 可以学习或者参考 开发是个好东西哦-This is a manual can learn or refer to dhmtl development is a good thing oh
- 2022-02-12 12:08:49下载
- 积分:1