You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 1, 2020. It is now read-only.
In the file "APDS9930/src/APDS9930.cpp", the function "wireWriteDataBlock()" is not used, but it contains a bug.
The sequence should be: beginTransmission - write - write - write - endTransmission
However, instead of writing data, both Wire.beginTransmission() and Wire.write() are called (multiple) times.
The extra Wire.beginTransmission() is at the moment in line 1082. That line may be removed.
A similar issue is in the original code from Sparkfun.
The text was updated successfully, but these errors were encountered:
In the file "APDS9930/src/APDS9930.cpp", the function "wireWriteDataBlock()" is not used, but it contains a bug.
The sequence should be: beginTransmission - write - write - write - endTransmission
However, instead of writing data, both Wire.beginTransmission() and Wire.write() are called (multiple) times.
The extra Wire.beginTransmission() is at the moment in line 1082. That line may be removed.
A similar issue is in the original code from Sparkfun.
The text was updated successfully, but these errors were encountered: