From aa44da071e5e6075597d2504e695c51a9f006fc5 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 22 Apr 2023 09:18:09 -0400 Subject: [PATCH] fix sensorValue print --- cubesatsim/cubesatsim.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index 3c0ef728..25b873f4 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -3071,7 +3071,7 @@ void payload_OK_only() Serial.print(" "); Serial.print(Sensor3,2); Serial.print(" MQ "); - Serial.println(sensorValue,0); + Serial.println(sensorValue); // ,0); if (mpuPresent) { float rotation = sqrt(mpu6050.getGyroX()*mpu6050.getGyroX() + mpu6050.getGyroY()*mpu6050.getGyroY() + mpu6050.getGyroZ()*mpu6050.getGyroZ()); @@ -3213,7 +3213,7 @@ void payload_OK_only() Serial1.print(" "); Serial1.print(Sensor3,2); Serial1.print(" MQ "); - Serial1.println(sensorValue,0); + Serial1.println(sensorValue); //,0); if (mpuPresent) { float rotation = sqrt(mpu6050.getGyroX()*mpu6050.getGyroX() + mpu6050.getGyroY()*mpu6050.getGyroY() + mpu6050.getGyroZ()*mpu6050.getGyroZ());