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

split i2c_read into read and write_read #8

Merged
merged 3 commits into from
Jun 23, 2024

Conversation

teamplayer3
Copy link
Contributor

@teamplayer3 teamplayer3 commented Mar 9, 2024

Using new esp-idf i2c interface, it is an error to use write_read with an empty send buffer. I split the read into single read and read_write. I couldn't confirm if it works as it should after these changes.

@teamplayer3 teamplayer3 changed the title add i2c_read split i2c_read into read and write_read Mar 9, 2024
@FloppyDisck
Copy link
Owner

Ill give it a look today, thanks for the PR

@dvdsk
Copy link

dvdsk commented Apr 25, 2024

I tried this on my async fork as it wasnt working with embassy-stm32 and with work applied its now working 🎉

@dcampbell24
Copy link

dcampbell24 commented Jun 4, 2024

This fixes the package for me too! I was going crazy with this not working. This is on a Raspberry Pi 5. Please, merge this fix.

And make a bug fix version release of the package @FloppyDisck .

@dcampbell24
Copy link

Can you make it so the commits don't have to be signed?

@FloppyDisck FloppyDisck merged commit 4687808 into FloppyDisck:main Jun 23, 2024
@Janno Janno mentioned this pull request Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants