From c0c37961f2d89423c79e68ace1e1a6d65ef49560 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Wed, 27 Jul 2022 08:07:10 -0400 Subject: [PATCH] forced Sensor1 to 0 --- cubesatsim/cubesatsim.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index 2ebb10da..b8e23e7c 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -2216,7 +2216,8 @@ void read_payload() sensorValue = analogRead(A3); //Serial.println(sensorValue); Temp = T1 + (sensorValue - R1) *((T2 - T1)/(R2 - R1)); - sprintf(str, "XS %.1f %.1f\n", Temp, Sensor1); +// sprintf(str, "XS %.1f %.1f\n", Temp, Sensor1); + sprintf(str, "XS %.1f 0.0\n", Temp); strcat(payload_str, str); print_string(payload_str);