From 29a00437c5b8b0c55a6895891ed8b5c2092a2ed8 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 24 Sep 2022 18:49:05 -0400 Subject: [PATCH] displayed +X, etc for ina219 --- cubesatsim/cubesatsim.ino | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index ee55c2af..cf3c3a64 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -2221,7 +2221,7 @@ void read_ina219() loadvoltage = busvoltage + (shuntvoltage / 1000); if ((debug_mode) || (voltage_read)) { - Serial.print("1 0x40 Voltage: "); + Serial.print("+X (1 0x40) Voltage: "); Serial.print(loadvoltage); Serial.print("V Current: "); Serial.print(current_mA); @@ -2238,7 +2238,7 @@ void read_ina219() loadvoltage = busvoltage + (shuntvoltage / 1000); if ((debug_mode) || (voltage_read)) { - Serial.print("1 0x41 Voltage: "); + Serial.print("+Y (1 0x41) Voltage: "); Serial.print(loadvoltage); Serial.print("V Current: "); Serial.print(current_mA); @@ -2255,7 +2255,7 @@ void read_ina219() loadvoltage = busvoltage + (shuntvoltage / 1000); if ((debug_mode) || (voltage_read)) { - Serial.print("1 0x44 Voltage: "); + Serial.print("+Bat (1 0x44) Voltage: "); Serial.print(loadvoltage); Serial.print("V Current: "); Serial.print(current_mA); @@ -2289,7 +2289,7 @@ void read_ina219() loadvoltage = busvoltage + (shuntvoltage / 1000); if ((debug_mode) || (voltage_read)) { - Serial.print("2 0x40 Voltage: "); + Serial.print("+Z (2 0x40) Voltage: "); Serial.print(loadvoltage); Serial.print("V Current: "); Serial.print(current_mA); @@ -2306,7 +2306,7 @@ void read_ina219() loadvoltage = busvoltage + (shuntvoltage / 1000); if ((debug_mode) || (voltage_read)) { - Serial.print("2 0x41 Voltage: "); + Serial.print("-X (2 0x41) Voltage: "); Serial.print(loadvoltage); Serial.print("V Current: "); Serial.print(current_mA); @@ -2323,7 +2323,7 @@ void read_ina219() loadvoltage = busvoltage + (shuntvoltage / 1000); if ((debug_mode) || (voltage_read)) { - Serial.print("2 0x44 Voltage: "); + Serial.print("-Y (2 0x44) Voltage: "); Serial.print(loadvoltage); Serial.print("V Current: "); Serial.print(current_mA); @@ -2340,7 +2340,7 @@ void read_ina219() loadvoltage = busvoltage + (shuntvoltage / 1000); if ((debug_mode) || (voltage_read)) { - Serial.print("2 0x45 Voltage: "); + Serial.print("-Z (2 0x45) Voltage: "); Serial.print(loadvoltage); Serial.print("V Current: "); Serial.print(current_mA);