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

Update bme68xI2cRead() for "chunked" read #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

makin-stuff
Copy link

Read from I2C bus in chunks of the max buffer size of the current processor until all bytes have been read.
For example, a measurement in parallel mode requires an I2C transaction of 51 bytes but the buffer size of an ATMega328P (Arduino Uno) is 32 bytes. So the updated bme68xI2cRead() function will first read the max buffer size of 32 bytes and then the remaining 19 bytes.

makin-stuff and others added 2 commits February 14, 2022 13:46
Read from I2C bus in chunks of the max buffer size of the processor until all bytes have been read.
Updated the BME68x SensorAPI
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.

2 participants