Skip to content

Added WriteRead() method in I2cDevice - #452

Merged
joperezr merged 3 commits into
dotnet:masterfrom
ZhangGaoxing:i2c-writeread
May 28, 2019
Merged

joperezr merged 3 commits into
dotnet:masterfrom
ZhangGaoxing:i2c-writeread

Conversation

@ZhangGaoxing

Copy link
Copy Markdown
Contributor

fix #129

I tested the code on Raspberry Pi 3B+ running Raspbian, and it worked well. The sensor that requires I2C Repeated Start is working properly, such as MLX90614 and KT0803L I mentioned in #129. BCM2835 can use WriteRead() directly, but BCM2708 needs to refer to this post.

If the code is merged, I can add some new bindings.

@joperezr

Copy link
Copy Markdown
Member

Left some small comments but this looks great otherwise. Thanks a lot for adding this @ZhangGaoxing!

@joperezr
joperezr merged commit 26e1b07 into dotnet:master May 28, 2019
@ZhangGaoxing
ZhangGaoxing deleted the i2c-writeread branch May 29, 2019 02:53
@ZhangGaoxing
ZhangGaoxing restored the i2c-writeread branch June 9, 2019 12:40
@ZhangGaoxing
ZhangGaoxing deleted the i2c-writeread branch August 22, 2019 11:36
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

I2C API should support Restart/Repeat condition

2 participants