代码搜索结果
找到约 387 项符合
RS485 的代码
snt-c485.asm
;############################################################
;文件名: IR-485.ASM
;文件说明:本程序为电表采集器
;功能: 1. 遵循电力部DL/T645-1998协议,通过RS485总线,采集并存储
; 电表的数据通过无线(红外)进行数据通讯.
; 2. 设置采集器地址
;
main.c
#include
#define uint unsigned int
#define uchar unsigned char
#define RS485 BIT0
#define LED1_ON P6DIR|= BIT7,P6OUT&=~BIT7
#define LED1_OFF P6DIR|= BIT7,P6OUT|=
snt-c485.asm
;############################################################
;文件名: IR-485.ASM
;文件说明:本程序为电表采集器
;功能: 1. 遵循电力部DL/T645-1998协议,通过RS485总线,采集并存储
; 电表的数据通过无线(红外)进行数据通讯.
; 2. 设置采集器地址
;
ex.plg
礦ision3 Build Log
Project:
F:\临时文件\非接触式IC卡设计\程序\RS485\C51\EX.uv2
Project File Date: 05/11/2008
Output:
main.c
#include
#define uint unsigned int
#define uchar unsigned char
#define RS485 BIT0
#define LED1_ON P6DIR|= BIT7,P6OUT&=~BIT7
#define LED1_OFF P6DIR|= BIT7,P6OUT|=
rs485m.c
#include
#include "main.h"
sbit DE_RE=P2^5;
void UART0_TX(unsigned char send[],unsigned char ii)
{
unsigned char i;
DE_RE = 1;//设置RS485处于发送状态
IE &= ~0x10;//关闭UART0中断用
rs485f.c
#include
#include "main.h"
sbit DE_RE=P2^5;
void UART0_TX(unsigned char send[],unsigned char ii)
{
unsigned char i;
DE_RE = 1;//设置RS485处于发送状态
IE &= ~0x10;//关闭UART0中断用
rs485.sln
Microsoft Visual Studio Solution File, Format Version 8.00
Project("{CB4CE8C6-1BDB-4DC7-A4D3-65A1999772F8}") = "rs485", "SmartDeviceApplication10\rs485.vbdproj", "{B95C8B5F-72CB-490A-B04F-987F7AFC093
51 c
礦ision2 Build Log
Project:
D:\桌面\FLY-51S 程序\115-RS485基本通讯原理\RS485通讯原理.uv2
Project File Date: 06/16/2010
Output:
usb.pbd
This is an internal working file generated by the Source Browser.
17:01 33s
D:\hekang\阶段性通过调试的文件版本\工业测控板的 RS485通信简单的实现\AT91SAM7S64-BasicUSART_USB-IAR4_30A-1_21\AT91SAM7S-BasicUSART_USB\compil\FLASH\