P89C58T
所属分类:单片机开发
开发工具:Asm
文件大小:4KB
下载次数:34
上传日期:2007-07-29 11:04:01
上 传 者:
lk_505
说明: 单片机RS232/RS485串行发送实验(双机通讯)。
实验步骤:
(1),准备两台598K实验机,确定1号机为发送,2号机为接收;
(2),当作RS232接口实验时,1号机和2号机的P3.0和P3.1交叉相连,且两机共地;
(3),当作RS485接口实验时,1号机和2号机的A、B作对应连接,同时1,2号机的R/TEN接P1.0, P3.0接R0, P3.1接DI。
(4),先运行2号机,键入[27]-->[EV]使2号机处于接收状态P。,后运行1号机[26]-->[EV]使1号机处于发送状态,P。会闪烁,在1号机键盘上按动数字键,在2号机的数码管上应显示对应的数字键值。
(Send Singlechip RS232/RS485 serial experiment (two-plane communications). Experimental steps: (1), prepare two sets of experiments 598K machine, determined on the 1st machine to send, on the 2nd machine to receive (2), as a RS232 interface experiment, on the 1st and the 2nd machine and P3.0 P3.1 cross-linked, and the two planes were to (3), as a RS485 interface experiment, on the 1st and the 2nd machine A, B for the corresponding connection, while 1,2 No. of R/TEN then P1 .0, P3.0 access R0, P3.1 then DI. (4), first run on the 2nd machine, type [27])
文件列表:
P89C58T.ASM (4259, 2007-07-29)
近期下载者:
相关文件:
收藏者: