文件名称:双机通讯
介绍说明--下载内容均来自于网络,请自行研究使用
单片机直接进行双机通讯程序;由于当发送中断发生的时候、接收中断发生的时候。中断号都是4,都会进入中断子程序,这里就通过if(RI===1)很巧妙的解决了这个问题。也就是说,只有接收中断发生后才会执行if内部的程序。(A single chip computer directly carries out a two machine communication program; because when the interrupt occurs, the receiving interruption occurs. The interrupts are all 4, and they all go into the interrupt subroutine, and this is a very clever solution to the problem by if (RI===1). In other words, only after the interrupt is received will the program within the if be executed.)
相关搜索: 单片机
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
双机通讯 | ||
双机通讯\乙机.doc | 9216 | 2013-06-19 |
双机通讯\甲机.doc | 17920 | 2013-06-19 |