登录
首页 » Com Port » 本程序是i2c总线读写一个字节的程序。在写过程序中,不一定非要检测i2c的应答位,可以直接延时过去就行,但是在读过程中必须给应答信号,读完发停止位,一定确认所发...

本程序是i2c总线读写一个字节的程序。在写过程序中,不一定非要检测i2c的应答位,可以直接延时过去就行,但是在读过程中必须给应答信号,读完发停止位,一定确认所发...

于 2022-02-02 发布 文件大小:1.85 kB
0 130
下载积分: 2 下载次数: 1

代码说明:

本程序是i2c总线读写一个字节的程序。在写过程序中,不一定非要检测i2c的应答位,可以直接延时过去就行,但是在读过程中必须给应答信号,读完发停止位,一定确认所发的信号都发上了。否则在连续地址读的过程中可能不会出错,但是在随机度过程中就会出错,我的程序就是在给停止信号时没有给上,24cxx一直在输出数据,结果读出错。找着问题后我的程序只加入了一条命令便完全正常。-i2c bus read and write a byte procedures. The written procedure, not necessarily require the detection i2c-response, and can directly past trip delay, but the process must be read to the response signal, stopped at reading, we recognize the signals are on the fat. Otherwise, the address read for the course could not go wrong, but the randomness of the process would be a mistake, I was in the process to stop for no signal, 24cxx in output data, read errors. I discovered the problem after the procedure just joined the order of a completely normal.

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

发表评论

0 个回复

  • VB 5.0/6.0的MSComm通信控件提供了一系列标准通信命令的接 口,它允许建立串口连接,可以连接到其他通信设备(如Modem)、 还可以发送命令、进行数...
    VB 5.0/6.0的MSComm通信控件提供了一系列标准通信命令的接 口,它允许建立串口连接,可以连接到其他通信设备(如Modem)、 还可以发送命令、进行数据交换以及监视和响应在通信过程中可能 发生的各种错误和事件,从而可以用它创建全双工的、事件驱动 的、高效实用的通信程序。-VB 5.0/6.0 the MSComm control communications for a series of standard communication interface orders, which allow for the establishment of serial link can be connected to other communications equipment (such as modem), and also can send orders, the exchange of information and surveillance and response in the communication process may mistakes that occurred in the incident, which can be used to create full-duplex, event-driven, highly effective and practical communication program.
    2022-03-06 13:15:04下载
    积分:1
  • RS-232-C端口实时监控软件的设计实现 多线程技术在VC++串口通信程序中的应用研究 用VC6实现串行通信的三种方法 在基于单文档程序中应用MSCOMM串口通讯控件-RS-232-C port real-time monitoring software design multi-threading technology in VC serial communication procedures for the application of research VC6 realization of the three serial communication methods based on single-file procedures MSCOMM Application Serial Communication Control
    2022-02-14 10:20:21下载
    积分:1
  • 基于串口通信的。本书详细描述了有关的风险投资…
    基于VC的串口通信。本书详细描述了在VC环境下编写串口通信的过程。一个吸引眼球的人,只为诱导朋友。
    2023-01-14 22:30:08下载
    积分:1
  • 用VC实现的串口调试软件
    用VC实现的串口调试软件-with VC serial debugging software
    2022-12-31 20:40:08下载
    积分:1
  • The software is a PC serial communications software, and be able to single
    该软件是一个串口通信的上位软件,能够和单片机通信,获取当前的温湿度值,简单,使用,可靠,对于初学者很有借鉴价值-The software is a PC serial communications software, and be able to single-chip communications, access to the current temperature and humidity value, easy to use, reliable and useful reference for beginners Value
    2022-08-07 10:47:40下载
    积分:1
  • MAX232手册 MAX232手册
    MAX232手册 MAX232手册 -MAX232手册MAX232手册MAX232手册
    2022-06-14 07:05:37下载
    积分:1
  • lcd显示程序,为430代码
    lcd显示程序,为430代码-LCD display program for the 430 code
    2022-10-14 03:05:05下载
    积分:1
  • chch串口程序
    chch串口程序-ch ch Serial procedures
    2023-06-10 03:05:04下载
    积分:1
  • 本程序是用VB编写的有关于一个串口通讯的子和序。
    本程序是用VB编写的有关于一个串口通讯的子和序。-This procedure is used VB has prepared on a subset of serial communication and sequence.
    2022-01-28 05:35:09下载
    积分:1
  • VB与三凌PLC通信. 好适就数据召唤使用.也是学习串通信编程好例子....
    VB与三凌PLC通信. 好适就数据召唤使用.也是学习串通信编程好例子.-VB and three Ling PLC communications. Good data calls on the appropriate use. Learning Series is a good example of communication programming.
    2022-02-20 07:36:15下载
    积分:1
  • 696516资源总数
  • 106462会员总数
  • 0今日下载