sparkfun / SparkFun_BQ27441_Arduino_Library

Arduino library for the BQ27441 LiPo Fuel Gauge.
Other
43 stars 31 forks source link

No need to wait for data after Wire.requestFrom() #1

Closed Koepel closed 5 years ago

Koepel commented 8 years ago

When the Wire.requestFrom() returns, the I2C transaction has completely finished and the received data is in the receive buffer of the Wire library. The Wire.read() only reads the data from that buffer.

The waiting with the delay is not needed.

awende commented 5 years ago

Fixed on v1.0.1. Thanks!