Skip to content

No need to wait after Wire.requestFrom() #5

@Koepel

Description

@Koepel

In the file "MinipH.ino" in the loop(), there is a while-loop after the Wire.requestFrom(). That while-loop can be removed, there is nothing to wait for.

The Wire.requestFrom() is a complete I2C transaction. When it returnes the I2C transactions has finished and the received data is waiting in a buffer in the Wire library.

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