sparkfun / SparkFun_I2C_GPS_Arduino_Library

Library for reading and controlling MT3333 and MT3339 based GPS modules over I2C.
Other
18 stars 13 forks source link

Fix other i2c devices #15

Closed gpabdo closed 12 months ago

gpabdo commented 12 months ago

I have found that unless I flush the i2c buffer after requestFrom() in begin(), messages from other i2c devices are random values. This fixes the issue, but I am not sure why, my guess is this message is left in the buffer and from then on, all messages from other devices are off by 1 byte?

gpabdo commented 12 months ago

This doesn't seem to work anymore... Don't know what's wrong.