Skip to content

I2C communication without clock stretching #10

@Lubnitex

Description

@Lubnitex

Hi,

I have used this library with a Sensirion sensor without success. There is a initialization issue with the sensor.

Since the clock stretching has been disabled a delay has been added between the sensor measurement request and the measurement readout.
The current implemantation ignores this delay and send a I2C restart between the measurement request and the readout.

I propose to replace this:

if (Wire.endTransmission(false) != 0) {

by:

if (Wire.endTransmission() != 0) {

Thank you and best regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions