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

SWI2C - Software I2C Library #9

Closed
JanHampelmann opened this issue Jan 10, 2023 · 2 comments
Closed

SWI2C - Software I2C Library #9

JanHampelmann opened this issue Jan 10, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@JanHampelmann
Copy link

Thanks for the library, I'm happy with it.
However, still a report of a small problem. In my humble opinion you forgot a statement in the "SWI2C::readFromDevice(uint8_t &data, bool sendStopBit)" function.
After the "data = read1Byte()" statement, the "checkAckBit()" statement is missing.
This causes the I2C bus readout to hang.

Regards, Jan.

@Andy4495 Andy4495 self-assigned this Jan 10, 2023
@Andy4495
Copy link
Owner

Yes, you are correct. Thanks for pointing that out!

I'll update the library and release a new version later today.

@Andy4495 Andy4495 added the bug Something isn't working label Jan 10, 2023
@Andy4495
Copy link
Owner

Updated and will be included in Release 2.0.1

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants