Closed douglas-johnston closed 5 years ago
Added a second commit which allows for reading from I2C devices. With just the original commit, wire can compile but will ignore all messages from attached I2C devices.
added a third commit which re-establishes error checking in Wire.cpp requestFrom(). If the read(...) function from DevI2C.h returns -1 as an error , then requestFrom(...) will avoid reading. Otherwise, it will read in values from the I2C bus.
Thanks for your contributions.
Adding a missing method description to Wire.h allows it to be included in sketches without preventing compilation.