Welcome![Sign In][Sign Up]
Location:
Search - REG52

Search list

[Other resource5510dedaima

Description: /*** *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
Platform: | Size: 15760 | Author: wangxing | Hits:

[Other resource485-502demo

Description: 此程序是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
Platform: | Size: 31072 | Author: 罗小兵 | Hits:

[Other resourceLCD12864

Description: 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) {
Platform: | Size: 41511 | Author: yichongwen | Hits:

[Embeded-SCM DevelopSTCchuankougps

Description: #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
Platform: | Size: 6409 | Author: 落落 | Hits:

[Other resourceTX-1BDS18B20

Description: //通过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
Platform: | Size: 1816 | Author: 解敏超 | Hits:

[SCMLCD12864

Description: 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
Platform: | Size: 40960 | Author: yichongwen | Hits:

[SCMTCS230

Description: 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
Platform: | Size: 1024 | Author: 黄胜 | Hits:

[OtherSIN

Description: 简易正弦波发生器 //精英团队提供 //控制信号 :P20 //数据线 :P0口-include <reg52.h> sbit WR2 = P2 ^ 0 unsigned char code sin[256]
Platform: | Size: 1024 | Author: 刘海 | Hits:

[Com Portserial_port

Description: 万能51串口通信例程 直接设置参数就可以使用,不需要再编写通信函数-serial_port.c#include <REG52.h> #include <intrins.h> #define uchar unsigned char #define uint unsigned int
Platform: | Size: 3072 | Author: lsj | Hits:

[SCMreg52

Description: 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. --------------------------------------------------------------------------*/
Platform: | Size: 1024 | Author: 杨威 | Hits:

[Windows Develop24c256_Diver

Description: #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的数据)*/
Platform: | Size: 3072 | Author: Tnavy | Hits:

[Other Embeded programadc

Description: #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 }
Platform: | Size: 3072 | Author: wang | Hits:

[Other Embeded programkey

Description: 单片机按键程序,原代码提供各位参考和大家一同学习-#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 }
Platform: | Size: 4096 | Author: wang | Hits:

[Other Embeded programAT89C51

Description: 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 }
Platform: | Size: 35840 | Author: wang | Hits:

[SCMREG52

Description: keil reg52.h 能够实现二进制在keil中的直接输入 例如 b-keil reg52.h
Platform: | Size: 1024 | Author: kaka | Hits:

[Other Embeded programLEDPWMC(reg52.h)

Description: LED PWM调光C语言程序(reg52.h)-LED PWM dimming C program
Platform: | Size: 1024 | Author: 刘艺 | Hits:

[SCMduoji

Description: 舵机控制,# 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"
Platform: | Size: 471040 | Author: hyu | Hits:

[VC/MFCREG52

Description: C程序 REG52头文件命令集 函数命令集-C program header file command set REG52
Platform: | Size: 1024 | Author: anboli | Hits:

[SCMREG52

Description: ATMAGE16系列单片机利用AVR+WINavr调试程序时候的REG52.h头文件源码-the REG52.h code of the ATMAGE16 series
Platform: | Size: 1024 | Author: 郎欣悦 | Hits:

[SCMreg51.h_reg52.h详解

Description: reg51.h、reg52.h中文详解,可供大家参考(Reg51. H, reg52. H Chinese explanation, for your reference)
Platform: | Size: 86016 | Author: 于世海 | Hits:
« 12 3 4 5 »

CodeBus www.codebus.net