We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 589ac8d commit 9f3d301Copy full SHA for 9f3d301
src/main.cpp
@@ -167,7 +167,7 @@ void wakeDisplay() {
167
168
void measure_values(){
169
if(use_channel_1){
170
- shunt_voltage_1 = INA3221.getShuntVoltage(INA3221_CH1); //Value will be returned in mV.
+ shunt_voltage_1 = INA3221.getShuntVoltage(INA3221_CH1); //Value will be returned in uV.
171
bus_voltage_1 = INA3221.getVoltage(INA3221_CH1);
172
current_mA_1 = INA3221.getCurrent(INA3221_CH1) * 1000; // mA
173
load_voltage_1 = bus_voltage_1 + (shunt_voltage_1 / 1000000);
@@ -943,4 +943,4 @@ void loop() {
943
}
944
// ----- Sleep the display (decrease brightness) ----- //
945
946
-}
+}
0 commit comments