I am currently translating this library for nRF52832
Could anyone explain the reason for the request for 24 bytes followed by a read for 28 bytes, is this an error?
Wire.requestFrom(addrBME280, 24);
for (count = 0; count < 28; count++) { // first 28 bytes we can process like this
compParams.compArray[count] = Wire.read();
}
I am currently translating this library for nRF52832
Could anyone explain the reason for the request for 24 bytes followed by a read for 28 bytes, is this an error?
Wire.requestFrom(addrBME280, 24);
for (count = 0; count < 28; count++) { // first 28 bytes we can process like this
compParams.compArray[count] = Wire.read();
}