Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • it means suppose i forgot to write wire. beginTransmission, does that mean I can't execute wire.endTransmission? Because it looks like the latter is depended on the first? That is, wire. endTransmission isn't an independent function. Commented Jan 23, 2022 at 17:26
  • 2
    Wire.beginTransmission() primes the library for a master write transaction. So you need it before calling Wire.endTransmission(). What makes you think that any of these functions are independent? They are working for the same hardware interface. You need to call them just as the library supposes you to. Commented Jan 23, 2022 at 17:31