Location:
Search - AT89X51.H
Search list
Description: 可预置的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
Platform: |
Size: 21028 |
Author: wyq |
Hits:
Description: #include \"at89x51.h\"
unsigned char code ddisp[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f} //段显0123456789,P0口
Platform: |
Size: 1467 |
Author: ghh |
Hits:
Description: 可预置的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
Platform: |
Size: 20480 |
Author: wyq |
Hits:
Description: #include "at89x51.h"
unsigned char code ddisp[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f} //段显0123456789,P0口-# Include at89x51.h unsigned char code ddisp [] = (0x3f, 0x06, 0x5b, 0x4f, 0x66, 0x6d, 0x7d, 0x07, 0x7f, 0x6f)// paragraph marked 0123456789, P0 I
Platform: |
Size: 1024 |
Author: ghh |
Hits:
Description: 基于DDS的波形发生器!以下为其头文件代码!
#include <AT89X51.H>
#include"lcd.h"
uchar code table1[]={"FREQ:"}
uchar code table2[]={"WAVE "}
uchar code table3[]={"Hz"}
uchar code table4[]={"fang bo"}
uchar code table5[]={"zhengxianbo"}
uchar code table6[]={"jc"}
uchar code table7[]={"san jiao bo"} -#include <AT89X51.H>
#include"lcd.h"
uchar code table1[]={"FREQ:"}
uchar code table2[]={"WAVE "}
uchar code table3[]={"Hz"}
uchar code table4[]={"fang bo"}
uchar code table5[]={"zhengxianbo"}
uchar code table6[]={"jc"}
uchar code table7[]={"san jiao bo"}
Platform: |
Size: 32768 |
Author: 韦武 |
Hits:
Description: 8键电子琴C程序,硬件支持:STC系列单片机 12MHz。基于AT89X51.H。适用于51单片机初学者,有详细解说-8 key keyboard C program
Platform: |
Size: 12288 |
Author: 孔齐金 |
Hits: