Skip to content

Usage of Wire library. #1

Description

@Koepel

In the files:

  • fk/clock.cpp
  • fk/battery_gauge.cpp
  • fk/temperature.cpp

there is a Wire.endTransmission() after a Wire.requestFrom() and reading and writing data is mixed.
Explanation about common mistakes: Common-mistakes
See also my alternative explanation of the functions of the Wire library.

Do you really need the I2C_CHECK macro ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions