文件名称:可预置的8位计数器源程序
介绍说明--下载内容均来自于网络,请自行研究使用
可预置的8位计数器程序的主要部分分析
#include <AT89X51.H> //器件配置文件
#define uchar unsigned char //变量类型的宏定义
#define uint unsigned int
uchar code SEG7[10]={0x03,0x9f,0x25,0x0d,0x99, //0~9的数码管段码
0x49,0x41,0x1f,0x01,0x09}
uchar data cnt[8] //在data区定义8位长度的数组,用来存放计数值
uchar data pre_cnt[8] //在data区定义8位长度的数组,用来存放预置值
sbit drv=P3^4 //定义输出驱动端
bit set_flag //定义工作标志
bit out_flag //定义输出标志
bit keydown_flag //键按下标志
-can preset counter the eight major part of the process analysis# include
#include <AT89X51.H> //器件配置文件
#define uchar unsigned char //变量类型的宏定义
#define uint unsigned int
uchar code SEG7[10]={0x03,0x9f,0x25,0x0d,0x99, //0~9的数码管段码
0x49,0x41,0x1f,0x01,0x09}
uchar data cnt[8] //在data区定义8位长度的数组,用来存放计数值
uchar data pre_cnt[8] //在data区定义8位长度的数组,用来存放预置值
sbit drv=P3^4 //定义输出驱动端
bit set_flag //定义工作标志
bit out_flag //定义输出标志
bit keydown_flag //键按下标志
-can preset counter the eight major part of the process analysis# include
(系统自动生成,下载前可以参看下载内容)
下载文件列表
可预置的8位计数器源程序
.......................\in_out
.......................\......\in_out
.......................\......\in_out.c
.......................\......\in_out.hex
.......................\......\in_out.lnp
.......................\......\in_out.LST
.......................\......\in_out.M51
.......................\......\in_out.OBJ
.......................\......\in_out.Opt
.......................\......\in_out.plg
.......................\......\in_out.Uv2
.......................\......\in_out_Opt.Bak
.......................\......\in_out_Uv2.Bak
.......................\可预置的8位计数器程序的主要部分分析.doc
.......................\程序.txt
.......................\in_out
.......................\......\in_out
.......................\......\in_out.c
.......................\......\in_out.hex
.......................\......\in_out.lnp
.......................\......\in_out.LST
.......................\......\in_out.M51
.......................\......\in_out.OBJ
.......................\......\in_out.Opt
.......................\......\in_out.plg
.......................\......\in_out.Uv2
.......................\......\in_out_Opt.Bak
.......................\......\in_out_Uv2.Bak
.......................\可预置的8位计数器程序的主要部分分析.doc
.......................\程序.txt