Seeed-Studio / Accelerometer_ADXL345

Seeed 3-Axis Digital Accelerometer library
http://www.seeedstudio.com/depot/Grove-3Axis-Digital-Accelerometer16g-p-1156.html
MIT License
25 stars 23 forks source link

Usage of Wire library. #5

Closed Koepel closed 6 years ago

Koepel commented 6 years ago

The Wire.endTransmission() and Wire.beginTransmission() should not be used together with Wire.requestFrom().

Explanation: Common-mistakes, number 2 and 3.

KillingJacky commented 6 years ago

Hi @Koepel , indeed mistakes, thank you.

KillingJacky commented 6 years ago

Same here: https://github.com/Seeed-Studio/Grove_3_Axis_Compass_V2.0_BMM150/issues/3

lanselambor commented 6 years ago

Thank you, have corrected the mistakes.