Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AIR001使用<Wire.h>时, Wire.endTransmission()函数异常 #84

Open
2 of 3 tasks
hehe501 opened this issue Nov 8, 2023 · 0 comments
Open
2 of 3 tasks

AIR001使用<Wire.h>时, Wire.endTransmission()函数异常 #84

hehe501 opened this issue Nov 8, 2023 · 0 comments
Assignees

Comments

@hehe501
Copy link

hehe501 commented Nov 8, 2023

描述一下这个bug / Describe the bug

再使用Wire.h进行iic通信时准备获取一个字节的数据时,使用 Wire.endTransmission(false);来完成重启IIC而不IIC释放总线的时序,但实际情况是Wire.endTransmission(false)和Wire.endTransmission(true)产生同样的时序,即都释放了总线,发送了stop命令

复现步骤 / To Reproduce

再使用比如需要先发送地址加寄存器然后加地址的读取寄存器的IIC时序,就会复现,Wire.endTransmission(false)和Wire.endTransmission(true)产生同样的时序

如果正常,应该是什么样 / Expected behavior

Wire.endTransmission(false)不会产生stop信号,不会释放IIC总线

截图 / Screenshots

错误时序
2
正确的应该是
1

日志 / Logs

系统 / System

Win10

PACK包版本 / Version

1.0.1.1

验证

  • 检查过该问题,之前没有人提过 / Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • 提供了最小可复现工程或详细的复现步骤,确保开发者可以复现 / The provided reproduction is a minimal reproducible example of the bug.
  • 已经提供了完整的报错信息、日志、截图,没有经过删减。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants