hexenmeister / AS_BH1750

a (Arduino) library for the BH1750FVI Digital Light Sensor
GNU Lesser General Public License v2.1
10 stars 10 forks source link

Wire.requestFrom() should not used together with Wire.beginTransmission() or Wire.endTransmission(). #4

Open Koepel opened 5 years ago

Koepel commented 5 years ago

In the files "AS_BH1750.cpp" and "AS_BH1750A.cpp" the Wire.beginTransmission() and Wire.endTransmission() in the function "readRawLevel()" may be removed. Explanation: Common-mistakes, number 2 and 3.