Skip to content

read issue  #17

@syndycat

Description

@syndycat

I tried to use this library with BME280 from bosch using Arduino Mini and has errors if you read more that 1 byte. For 1 byte read is working fine.

beginTransmission(bmeI2CAddress);
write(0x8E); // Pressure calibration register 2 bytes to read
endTransmission();
requestFrom(bmeI2CAddress, 2);
byte p0 = read();
byte p1 = read();

Here is result of p0 and p1 using arduino Wire
0xDC 0x94

Here is result of p0 and p1 using I2Cmaster
0xDC 0xFF

I noticed that everything that is read after first read() I got FF .
I tried also with readLast() but same faulty data I got.

Any workaround is really appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions