A Wire.endTransmission() should not be used after a Wire.requestFrom().
Hi, I spotted another one. In "SensorBoard_nRF52/VEML6040.cpp", in the function "getRGBWdata()", there is a Wire.endTransmission() after the Wire.requestFrom(). That Wire.endTransmission can be removed. I have even made a wiki for it: Common-mistakes.
Thanks.
On Sat, May 5, 2018 at 7:26 AM, Koepel [email protected] wrote:
Hi, I spotted another one. In "SensorBoard_nRF52/VEML6040.cpp", in the function "getRGBWdata()", there is a Wire.endTransmission() after the Wire.requestFrom(). That Wire.endTransmission can be removed. I have even made a wiki for it: Common-mistakes https://github.com/Koepel/How-to-use-the-Arduino-Wire-library/wiki/Common-mistakes#2 .
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/nRF52832DevBoard/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1qlmrh3DVEnMs_2OTWSCxbBeSxapMks5tvbZ6gaJpZM4TzqBl .