Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - REG52
Search - REG52 - List
/*** *5510单片机测试程序 基本测试成功 2005-8-25 write By CW *** *** *** ****/ #include <reg52.h> #include <absacc.h> #define uint unsigned int #define uchar unsigned char-/******* 5510 microcontroller basic test procedure successfully tested 2005-8-25 wr ite By CW ***************************************** * / # include
Date : 2008-10-13 Size : 15.39kb User : wangxing

此程序是RS485从机通讯,包含3部分:接收帧程序、发送帧程序及执行命令程序。 从机通讯地址从地址开关读取4位 由于485的通信规约差别很大,这里只是提供参考,具体请参照自己的项目特点做修改,抛砖引玉。 #include<reg52.h> #include<main.h> #include<hy502.h> -this procedure is RS485 communications from the plane, contains three parts : a receiving frame procedures, Send frame procedures and procedures for the enforcement of the order. Communication from the address from the address switch read four of the 485 due to communication protocol vary greatly, the reference here is, Please refer to their specific project features modified to congregate. # Include
Date : 2008-10-13 Size : 30.34kb User : 罗小兵

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) {
Date : 2008-10-13 Size : 40.54kb User : yichongwen

#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_iap_sector_erase 0x3 #define wait_time 0x1
Date : 2008-10-13 Size : 6.26kb User : 落落

//通过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 result positive or negative sbit dula=P2^6 sbit wela=P2^7
Date : 2008-10-13 Size : 1.77kb User : 解敏超

DL : 0
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) {-12864 LCD original procedures .# Include
Date : 2025-07-12 Size : 40kb User : yichongwen

DL : 0
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口输入 sbit key0=P1^5 sbit LED=P1^6 sbit a=P3^0 sbit b=P3^1 uchar color //1:blue 2:green 3:red uchar T[4] //color timer uchar TH[4] uchar TL[4] uchar bizhi[4] void time1() interrupt 3 { TH[color]=TH0 TL[color]=TL0 T[color]=(TH[color]*0xff+TL[color]) TR0=0 //关定时器 TR1=0 TH1=0xB1 TL1=0xE0 //归0 TH0=0x00 TL0=0x00 //归0 }-51 monolithic tcs230 even the source is absolutely original, you can remember the color.# Define uchar unsigned char# Include
Date : 2025-07-12 Size : 1kb User : 黄胜

DL : 0
简易正弦波发生器 //精英团队提供 //控制信号 :P20 //数据线 :P0口-include <reg52.h> sbit WR2 = P2 ^ 0 unsigned char code sin[256]
Date : 2025-07-12 Size : 1kb User : 刘海

万能51串口通信例程 直接设置参数就可以使用,不需要再编写通信函数-serial_port.c#include <REG52.h> #include <intrins.h> #define uchar unsigned char #define uint unsigned int
Date : 2025-07-12 Size : 3kb User : lsj

DL : 0
8155_Reg52 /*-------------------------------------------------------------------------- REG52.H Header file for generic 80C52 and 80C32 microcontroller. Copyright (c) 1988-2012 Keil Elektronik GmbH and Keil Software, Inc. All rights reserved. --------------------------------------------------------------------------*/-8155_Reg52 /*-------------------------------------------------------------------------- REG52.H Header file for generic 80C52 and 80C32 microcontroller. Copyright (c) 1988-2012 Keil Elektronik GmbH and Keil Software, Inc. All rights reserved. --------------------------------------------------------------------------*/
Date : 2025-07-12 Size : 1kb User : 杨威

#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} enum eepromtype enumer unsigned char code buf1 []={1,3,5,7,9,10,11,12} /* 发送缓冲区(记录八个小于等于255的数据) */ unsigned char buf2 [8] /* 接收缓冲区(接收8个小于等于255的数据) */ -#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} enum eepromtype enumer unsigned char code buf1 []={1,3,5,7,9,10,11,12} /* 发送缓冲区(记录八个小于等于255的数据)*/ unsigned char buf2 [8] /* 接收缓冲区(接收8个小于等于255的数据)*/
Date : 2025-07-12 Size : 3kb User : Tnavy

#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] #define IN0 XBYTE[0x1000] void ADC(void) sbit cs138=P1^6 uchar AdcValue main() {cs138=0 COM8255=0x81 EA=1 IE=0x81 IT0=1 IN0=0 while(1) {PA8255=PB8255=AdcValue } } void ADC(void) interrupt 0 using 1 {AdcValue=IN0 IN0=0 }
Date : 2025-07-12 Size : 3kb User : wang

单片机按键程序,原代码提供各位参考和大家一同学习-#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] #define IN0 XBYTE[0x1000] void ADC(void) sbit cs138=P1^6 uchar AdcValue main() {cs138=0 COM8255=0x81 EA=1 IE=0x81 IT0=1 IN0=0 while(1) {PA8255=PB8255=AdcValue } } void ADC(void) interrupt 0 using 1 {AdcValue=IN0 IN0=0 }
Date : 2025-07-12 Size : 4kb User : wang

PCB板全部文件,以及原理图,和上面的原代码相同 -#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] #define IN0 XBYTE[0x1000] void ADC(void) sbit cs138=P1^6 uchar AdcValue main() {cs138=0 COM8255=0x81 EA=1 IE=0x81 IT0=1 IN0=0 while(1) {PA8255=PB8255=AdcValue } } void ADC(void) interrupt 0 using 1 {AdcValue=IN0 IN0=0 }
Date : 2025-07-12 Size : 35kb User : wang

DL : 0
keil reg52.h 能够实现二进制在keil中的直接输入 例如 b-keil reg52.h
Date : 2025-07-12 Size : 1kb User : kaka

LED PWM调光C语言程序(reg52.h)-LED PWM dimming C program
Date : 2025-07-12 Size : 1kb User : 刘艺

DL : 0
舵机控制,# 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># Define uchar unsigned char# define uint unsigned int# include " shift.c" // digital display program# include " IR_decode.c" // IR decoder# include " LCD_1602.c"
Date : 2025-07-12 Size : 460kb User : hyu

DL : 0
C程序 REG52头文件命令集 函数命令集-C program header file command set REG52
Date : 2025-07-12 Size : 1kb User : anboli

DL : 0
ATMAGE16系列单片机利用AVR+WINavr调试程序时候的REG52.h头文件源码-the REG52.h code of the ATMAGE16 series
Date : 2025-07-12 Size : 1kb User : 郎欣悦

reg51.h、reg52.h中文详解,可供大家参考(Reg51. H, reg52. H Chinese explanation, for your reference)
Date : 2025-07-12 Size : 84kb User : 于世海
« 12 3 4 5 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.