登录
首页 » SCM » 用485实现单片机之间的串行通信。 主机部分发送从机地址,等待从机响应,从机准备好就发数据,发完就接收从机的响应,接受成功就跳出循环,否则重发。...

用485实现单片机之间的串行通信。 主机部分发送从机地址,等待从机响应,从机准备好就发数据,发完就接收从机的响应,接受成功就跳出循环,否则重发。...

于 2022-03-21 发布 文件大小:2.11 kB
0 229
下载积分: 2 下载次数: 1

代码说明:

用485实现单片机之间的串行通信。 主机部分发送从机地址,等待从机响应,从机准备好就发数据,发完就接收从机的响应,接受成功就跳出循环,否则重发。-MCU with 485 Serial Communication between. Host of this address from the plane, waiting for the response from the plane, from the plane ready to discuss the data, finished on the reception of the response from the plane. set aside for recycling success, otherwise re-issued.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 本系统采用MSC
    本系统采用MSC-51系列单片机ATSC51和可编程并行I/O接口芯片8255A为中心器件来设计交通灯控制器,实现了能根据实际车流量通过8051芯片的P1口设置红、绿灯燃亮时间的功能;红绿灯循环点亮,倒计时剩5秒时黄灯闪烁警示(交通灯信号通过PA口输出,显示时间直接通过8255的PC口输出至双位数码管);车辆闯红灯报警;绿灯时间可检测车流量并可通过双位数码管显示。本系统实用性强、操作简单、扩展功能强。 -The system uses MSC-51 series single-chip ATSC51 and programmable parallel I/O interface chip 8255A-centric device designed to control traffic lights, can be achieved in accordance with the actual traffic flow through the P1 port 8051 chip set red, green fuel Liang function of time traffic light cycle, the countdown five seconds left when the yellow light flashing warning (traffic lights through the PA output signal indicates the time directly through the PC port output 8255 to double-digits) vehicle alarm闯红灯 green time traffic flow can be detected through a double-digital display. The system practical, simple and strong extensions.
    2022-08-26 05:28:44下载
    积分:1
  • 该程序实现有两个单片机进行环境温度和关照信息的采集。
    该程序实现有两个单片机进行环境温度和关照信息的采集。-The program has two microcontrollers to achieve environmental temperature and care information collection.
    2022-03-18 00:34:25下载
    积分:1
  • 我自己在别人基础上编写的MSP430F410的例程,希望能对大家有帮助...
    我自己在别人基础上编写的MSP430F410的例程,希望能对大家有帮助-myself in other people prepared on the basis of MSP430F410 routines, we hope to help
    2023-04-04 15:30:03下载
    积分:1
  • eagle circuit for MP3 expander
    eagle circuit for MP3 expander
    2023-02-09 17:25:04下载
    积分:1
  • C51中的指针应用之一.rar
    C51中的指针应用之一.rar-C51 target of one application. Rar
    2023-07-03 07:00:03下载
    积分:1
  • Atmel算法(pid)
    Atmel算法(pid)-步进电机驱动源码 ,不好用你找我,绝对ok! -Atmel algorithm (pid)- stepper motor driver source code, not with you to find me, is absolutely ok!
    2023-03-17 20:15:03下载
    积分:1
  • a TV remote control decoder
    电视遥控器c51 a-a TV remote control decoder
    2022-02-14 08:19:50下载
    积分:1
  • DOS 下的VGA 转 TV的芯片控制源代码,汇编编写.可直接使用
    DOS 下的VGA 转 TV的芯片控制源代码,汇编编写.可直接使用-DOS VGA chip to control TV source code, compile prepared. Can be used directly
    2022-02-11 22:47:47下载
    积分:1
  • 名称:独立按键 公司:上海浩豚电子科技有限公司 编写:师访 日期:2009.5 修改:无 内容:切换到独立按键模式,通过按键在数码...
    名称:独立按键 公司:上海浩豚电子科技有限公司 编写:师访 日期:2009.5 修改:无 内容:切换到独立按键模式,通过按键在数码管显示对应的数字-Name: Independent keys Company: Shanghai Electronic Technology Co., Ltd. Hao dolphin prepared: Teachers Visit Date: 2009.5 Review: No content: Switch to the independent button mode, key in the digital tube display by the corresponding number
    2022-06-12 08:15:40下载
    积分:1
  • 很强大,很完整的,在单片机控制LED显示屏上玩俄罗斯方块
    很强大,很完整的,在单片机控制LED显示屏上玩俄罗斯方块-Very powerful, very complete, in SCM control LED display on the play Tetris ~ ~ ~ ~
    2022-04-25 09:55:26下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载