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
In the file "control-tower/weatherbox_firmware/tests/Sensor_Code/sensors.cpp", in the function d_Sensors_sampleSolarIrrmV(), the functions to read and write data via I2C are mixed together.
In the file "control-tower/weatherbox_firmware/lib/HIH613x/HIH613x.cpp", in the function dataFetch(), there are two Wire.endTransmission(), but those can be removed.
The Wire.endTransmission() may not be used to clear the bus or close something. It is only used when writing data.
By including the file "control-tower/weatherbox_firmware/lib/Adafruit_BMP085/Adafruit_BMP085.cpp", you have also included this issue: adafruit/Adafruit-BMP085-Library#17
In the file "control-tower/weatherbox_firmware/src/gen_dragonfruit/gd_dev_apogee_SP215_irradiance.cpp", in the function gd_dev_apogee_SP215_irradiance_read(), the Wire.beginTransmission() and Wire.endTransmission() should be removed. They may not be used together with Wire.requestFrom().
In the file "control-tower/weatherbox_firmware/tests/Sensor_Code/sensors.cpp", in the function
d_Sensors_sampleSolarIrrmV()
, the functions to read and write data via I2C are mixed together.In the file "control-tower/weatherbox_firmware/lib/HIH613x/HIH613x.cpp", in the function
dataFetch()
, there are twoWire.endTransmission()
, but those can be removed.The
Wire.endTransmission()
may not be used to clear the bus or close something. It is only used when writing data.By including the file "control-tower/weatherbox_firmware/lib/Adafruit_BMP085/Adafruit_BMP085.cpp", you have also included this issue: adafruit/Adafruit-BMP085-Library#17
In the file "control-tower/weatherbox_firmware/src/gen_dragonfruit/gd_dev_apogee_SP215_irradiance.cpp", in the function
gd_dev_apogee_SP215_irradiance_read()
, theWire.beginTransmission()
andWire.endTransmission()
should be removed. They may not be used together withWire.requestFrom()
.See my alternative explanation of the Wire functions and the Common mistakes.
The text was updated successfully, but these errors were encountered: