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 "FOSSASAT-1/Code/FossaSat1/power_control.cpp", in the function "Power_Control_INA2256_Check()", there is Wire.beginTransmission() just before the Wire.requestFrom(). That Wire.beginTransmission() may be removed.
The timeout after the Wire.requestFrom() may be removed as well.
In this case the extra code is harmless, but others could think that it is needed.
I have given up on jarzebski. See for example this: jarzebski/Arduino-MPU6050#4 I tried to convince him that it is better to write code without bugs, then I tried to be annoying, but nothing helps.
There is a library for the Teensy boards that have non-blocking I2C functions and there is a I2C library that uses DMA, but those functions are not compatible with the Arduino Wire library.
In the file "FOSSASAT-1/Code/FossaSat1/power_control.cpp", in the function "Power_Control_INA2256_Check()", there is Wire.beginTransmission() just before the Wire.requestFrom(). That Wire.beginTransmission() may be removed.
The timeout after the Wire.requestFrom() may be removed as well.
Explanation: Common-mistakes, number 1 and 3.
This section:
can be reduced to:
If you want to check if the data was received, then you can do this:
or this:
The text was updated successfully, but these errors were encountered: