Koepel

Results 54 issues of Koepel

In the file "Arduino_I2C_Scanner/I2C_Scanner/I2C_Scanner.ino" the Wire.requestFrom() is in between the Wire.beginTransmission() and Wire.endTransmission(). Those can not be mixed like that. Writing a byte is like this: `Wire.beginTransmission` - `Wire.write` -...

This is not an issue, this is just informative. There is a difference between the Arduino Wire library (for the Arduino Uno) and the SoftwareWire library when writing data to...

A few issues have already been reported about code with the Wire functions of I2Cdev.cpp. https://github.com/jrowberg/i2cdevlib/issues/252 (timeout is not in Arduino library) https://github.com/jrowberg/i2cdevlib/issues/181 (adding a repeated start) https://github.com/jrowberg/i2cdevlib/issues/76 (data length)...

In the file "HMC6352.h" there is a while-loop after the call to Wire.requestFrom() in three places. Those while loops can be removed. There is nothing to wait for. When the...

Hi, I don't know the purpose of this "dump" repository, but I noticed some issues. With a casual glance, you probably can spot them immediate when looking at the code....

In the file "GY80/AHRS_9DOF_arduino/Sensors.ino" the Wire.requestFrom() is followed by Wire.endTransmission(). Those Wire.endTransmission() can be removed.

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...

help wanted
incomplete

In the file "CMWX1ZZABZ/LoRaSensorTile/LoRaSensorTile.v05/VEML6040.cpp", in the function "getRGBWdata()" there is a Wire.endTransmission() after the Wire.requestFrom() in line 41 at the moment. That is not needed, it can be removed. The...

About the file "arduino/Libraries/HMC5883L/HMC5883L.cpp", see: https://github.com/landis/arduino/issues/2

The `Wire.beginTransmission()` and `Wire.endTransmission()` should only be used when writing data. I noticed two files where they were used before and after a `Wire.requestFrom()`. Those can be removed. Explanation: [Common-mistakes](https://github.com/Koepel/How-to-use-the-Arduino-Wire-library/wiki/Common-mistakes),...