搜索资源列表
5510dedaima
- /*** *5510单片机测试程序 基本测试成功 2005-8-25 write By CW *** *** *** ****/ #include <reg52.h> #include <absacc.h> #define uint unsigned int #define uchar unsigned char-/******* 5510 microcont
485-502demo
- 此程序是RS485从机通讯,包含3部分:接收帧程序、发送帧程序及执行命令程序。 从机通讯地址从地址开关读取4位 由于485的通信规约差别很大,这里只是提供参考,具体请参照自己的项目特点做修改,抛砖引玉。 #include<reg52.h> #include<main.h> #include<hy502.h> -this procedure is RS485 communicati
LCD12864
- 12864液晶原程序.#include <reg52.h> #include <intrins.h> typedef unsigned char BYTE typedef bit BOOL sbit rs=P2^0 sbit rw=P2^1 sbit e =P2^2 BYTE code dis[]={\"www.zansi.com\"} delay(BYTE ms
STCchuankougps
- #include <reg52.h> #include <stdio.h> #include <string.h> #define uchar unsigned char #define uint unsigned int #define isp_iap_byte_read 0x1 #define isp_iap_byte_program 0x2 #define isp
TX-1BDS18B20
- //通过18B20检测的数字温度可在电脑上显示当前温度值 #include <reg52.h> #define uchar unsigned char #define uint unsigned int sbit DS=P2^2 //define interface uint temp // variable of temperature uchar flag1 // sign of the resu
1602
- //1602液晶显示字屏为:TX-1C MCU GOTOYUNLONGDZ #include<reg52.h> #define uchar unsigned char #define uint unsigned int
LCD12864
- 12864液晶原程序.#include <reg52.h> #include <intrins.h> typedef unsigned char BYTE typedef bit BOOL sbit rs=P2^0 sbit rw=P2^1 sbit e =P2^2 BYTE code dis[]={"www.zansi.com"} delay(BYTE ms)
TCS230
- 51单片连tcs230的源程序,绝对原创,可以记忆颜色。 #define uchar unsigned char #include <reg52.h> #include<math.h> sbit S0=P1^7 sbit S1=P1^0 //端口定义 sbit S2=P1^1 sbit S3=P1^2 sbit OE=P1^3 sbit OUT=P3^4 //频率从TO
SIN
- 简易正弦波发生器 //精英团队提供 //控制信号 :P20 //数据线 :P0口-include <reg52.h> sbit WR2 = P2 ^ 0 unsigned char code sin[256]
serial_port
- 万能51串口通信例程 直接设置参数就可以使用,不需要再编写通信函数-serial_port.c#include <REG52.h> #include <intrins.h> #define uchar unsigned char #define uint unsigned int
reg52
- 8155_Reg52 /*-------------------------------------------------------------------------- REG52.H Header file for generic 80C52 and 80C32 microcontroller. Copyright (c) 1988-2012 Keil Elektronik GmbH and Keil Soft
24c256_Diver
- #include <reg52.h> #include <intrins.h> #define ERROR 10 //允许出错次数 sbit SDA=P3^3 sbit SCL=P3^4 sbit LED=P1^7 enum eepromtype {AT2401,AT2402,AT2404,AT2408,AT2416,AT2432,AT2464,AT24128,AT24256}
adc
- #include <reg52.h> #include <absacc.h> #define uchar unsigned char #define PA8255 XBYTE[0x3ffc] #define PB8255 XBYTE[0x3ffd] #define PC8255 XBYTE[0x3ffe] #define COM8255 XBYTE[0x3fff] #def
key
- 单片机按键程序,原代码提供各位参考和大家一同学习-#include <reg52.h> #include <absacc.h> #define uchar unsigned char #define PA8255 XBYTE[0x3ffc] #define PB8255 XBYTE[0x3ffd] #define PC8255 XBYTE[0x3ffe] #define COM
AT89C51
- PCB板全部文件,以及原理图,和上面的原代码相同 -#include <reg52.h> #include <absacc.h> #define uchar unsigned char #define PA8255 XBYTE[0x3ffc] #define PB8255 XBYTE[0x3ffd] #define PC8255 XBYTE[0x3ffe] #define
REG52
- keil reg52.h 能够实现二进制在keil中的直接输入 例如 b-keil reg52.h
LEDPWMC(reg52.h)
- LED PWM调光C语言程序(reg52.h)-LED PWM dimming C program
duoji
- 舵机控制,# include<REG52.h> # define uchar unsigned char # define uint unsigned int #include "shift.c" //数码管显示程序 #include "IR_decode.c" //红外解码程序 #include "LCD_1602.c" -Servo control,# include <REG52.h>
REG52
- ATMAGE16系列单片机利用AVR+WINavr调试程序时候的REG52.h头文件源码-the REG52.h code of the ATMAGE16 series
reg51.h_reg52.h详解
- reg51.h、reg52.h中文详解,可供大家参考(Reg51. H, reg52. H Chinese explanation, for your reference)