登录
首页 » SCM » 通讯规则: 1:时钟7.3728 MHz/波特率9600/9个数据位/奇校验/1个停止位/硬件多机通讯功能/ 2:通讯连接采用硬件MAX485,双向...

通讯规则: 1:时钟7.3728 MHz/波特率9600/9个数据位/奇校验/1个停止位/硬件多机通讯功能/ 2:通讯连接采用硬件MAX485,双向...

于 2022-03-20 发布 文件大小:1.82 kB
0 182
下载积分: 2 下载次数: 1

代码说明:

通讯规则: 1:时钟7.3728 MHz/波特率9600/9个数据位/奇校验/1个停止位/硬件多机通讯功能/ 2:通讯连接采用硬件MAX485,双向单工 3:每个上行/下行的数据包的字节个数都是一样的(通讯数据量) 4:每个上行/下行的数据包都采用CRC8校验 5:数据接收采用中断+查询的方式 6:总是由主机向从机发送一个数据包,从机收到数据包后向主机回复一个数据包 7:不管是主机还是从机,如果收到的数据包有任何错误,都将丢弃该数据包,等效于没有接收 8:从机之间不能相互通讯,必须通过主机才能交换数据 9:无效地址是0,主机地址是1,从机地址是2.3.4......广播地址是255 -err

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

发表评论

0 个回复

  • (个人原创)这是我写的在keil GM max5532 max5535驱动下…
    (个人原创)这个是我在Keil下写的MAX5532--MAX5535通用的驱动代码,由于我编写的时候,考虑到通用性,所以当你使用的时候,需要根据你的器件特性几乎不用修改函数提来调用我的函数模块(我在需要调用的注释和注意点已经写的很清楚了),缩短你的工程开发周期。-(Personal original) This is what I wrote in under Keil GM MAX5532 MAX5535 driver code, as I am prepared when taking into account the general, so when you use when you need to almost do not modify the device characteristics mentioned function to call I have a function module (I need to call attention to the comments and points have been written very clearly), and shorten your project development cycle.
    2022-05-25 17:57:29下载
    积分:1
  • through weeks of the date of counting source of C51, with a small c written proc...
    通过日期算星期的C51源程序,用c写的小程序 希望对大家有用-through weeks of the date of counting source of C51, with a small c written procedures hope useful for all
    2022-06-30 03:05:48下载
    积分:1
  • 图形液晶TG12864B
    图形液晶TG12864B-2驱动程序-Graphic LCD Driver TG12864B-2
    2022-01-25 19:25:38下载
    积分:1
  • CCS最新版本的Microchip PIC单片机C语言开发工具。支持PI…
    CCS 最新版microchip PIC单片机的C语言开发工具。支持pic12/16/18系列单片机的新型号,16F883和16F9xx。-CCS latest version of microchip PIC MCU C language development tools. Support pic12/16/18 Series Singlechip new models, 16F883 and 16F9xx.
    2022-01-26 07:37:38下载
    积分:1
  • MSP430与DS1820接口程序,实现数据操作等
    MSP430与DS1820接口程序,实现数据操作等
    2022-08-20 08:26:14下载
    积分:1
  • 注:protel电路图 1.INPUT12为高压气压和低压压传感器输入端. 2.OUTPUT为充气输出控制端. 3.当高低压有接地信号时,电机...
    注:protel电路图 1.INPUT12为高压气压和低压压传感器输入端. 2.OUTPUT为充气输出控制端. 3.当高低压有接地信号时,电机正转,气阀打开. 4.INPUT2低气压时有信号时,充气OUTPUT输出,充气电机转. 5.RS1与RS2是调节阀门距离用地 6.RS3是与气阀电机同步时,是气阀电机的转动圈数传感器. 7.RS4是调节延时时间用地-Note: protel circuit 1.INPUT12 and low-voltage high-pressure pneumatic pressure sensor input. 2.OUTPUT output control for the inflated side. 3. When the high and low pressure have a grounding signal when the motor is transferred, the valve opens. 4.INPUT2 low pressure when there is signal output OUTPUT inflatable, inflatable motor switch. 5.RS1 and RS2 is the regulator valve from the land 6.RS3 synchronous motor with the valve, the valve motor is rotating circle the number of sensors. 7.RS4 delay time to regulate land
    2022-02-05 21:01:24下载
    积分:1
  • PHP是一种新型的CGI程序编写语言,易学易用,运行速度快,可以方便快捷地编写出功能强大,运行速度快,并可同时运行于 Windows、Unix、Linux平台的...
    PHP是一种新型的CGI程序编写语言,易学易用,运行速度快,可以方便快捷地编写出功能强大,运行速度快,并可同时运行于 Windows、Unix、Linux平台的Web后台程序,内置了对文件上传、密码认证、Cookies操作、邮件收发、动态GIF生成等功能,PHP 直接为很多数据库提供原本的连接,包括Oracle、Sybase、Postgres、Mysql、Informix、Dbase、Solid、 Access等,完全支持ODBC接口,用户更换平台时,无需变换PHP代码,可即拿即用. -PHP is a new type of CGI programming language, easy to learn and easy to use, run fast, you can quickly and easily write a powerful, fast, and can run on Windows, Unix, Linux platforms, Web daemon, built-in for file upload, password authentication, Cookies operations, send and receive e-mail, dynamic GIF generation features, PHP directly to many of the original database connectivity, including Oracle, Sybase, Postgres, Mysql, Informix, Dbase, Solid, Access and so on, completely support ODBC interface, user replacement of platform, without changing the PHP code, you can get that instant.
    2022-08-21 19:15:02下载
    积分:1
  • LCD 1602 AVR下显示驱动程序.使用的是ATMEL公司的AVR芯片ATMEGA16.只要稍加修改可以移植到其他单片机上....
    LCD 1602 AVR下显示驱动程序.使用的是ATMEL公司的AVR芯片ATMEGA16.只要稍加修改可以移植到其他单片机上.-LCD 1602 AVR display driver. Using ATMEL
    2022-03-24 08:56:05下载
    积分:1
  • C write MCU read U disk and SD card program, which included data on the chip cir...
    C写的单片机读U盘和SD卡的程序,里面附带电路图及关键芯片的数据手册,很详细-C write MCU read U disk and SD card program, which included data on the chip circuit diagram and key manual, very detailed
    2022-09-15 17:00:04下载
    积分:1
  • AT89C51 ISD4004 interface with recording and playback process design, control 40...
    AT89C51与ISD4004的接口及录音放音程序设计,控制4004-AT89C51 ISD4004 interface with recording and playback process design, control 4004
    2022-03-25 06:00:06下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载