代码搜索结果
找到约 892 项符合
RS485 的代码
rs485.cspy.bat
@REM This bat file has been generated by the IAR Embeddded Workbench
@REM C-SPY interactive debugger,as an aid to preparing a command
@REM line for running the cspybat command line utility with the
rs485.ewp
1
Debug
MSP430
rs485.ewd
1
Debug
MSP430
main.c
/*************************************************
程序功能:通过RS485端口接收字符并在1602液晶上显示
--------------------------------------------------
测试方法:用另一个RS485发射器,通过RS485总线向学习板
发送数据(必须是可显示字符对应的ASCII码
main.c
/***********************************************
程序功能:通过RS485端口不停地发送数据0xaa
------------------------------------------------
测试说明:用示波器观察RS485端口A、B信号线上的波形
或者用RS485接收器接收发送的字符。
************
rs485.c
#include
#include
#include "2410addr.h"
#include "2410lib.h"
#include "def.h"
#include "uart0.h"
void Uart_Port_Set(void);
void Uart_Port_Return(void);
void __irq Uar
ex1501.asm
;
; RS485 tester ( press and hold T0CKI to enable output )
;
; Transmit ASCII of 4x4 keys w/o display (by polling )
; Display received ASCII on LCD ( by Interrupt )
;
;
LIST P=16F877, R=DEC
uart.c
///////////////////////////////////////////////////////////////////////////////
// 门禁终端与上位服务器通信
// 门禁终端与上位服务器通信采用RS485总线方式连接,每台门禁终端分配固定设备
// 地址。
// 需要注意的是在处理串行通信的时候,可以关闭其它中断
// idata=19
////////