From b5a01af374ecb885fe06bfa3a3e29a3db0108ba1 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Thu, 6 Apr 2023 20:06:07 -0400 Subject: [PATCH] Sensor 1,2,3 are float --- cubesatsim/cubesatsim.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cubesatsim/cubesatsim.h b/cubesatsim/cubesatsim.h index 4bdcb82c..26629d7d 100644 --- a/cubesatsim/cubesatsim.h +++ b/cubesatsim/cubesatsim.h @@ -333,8 +333,9 @@ int bmePresent, mpuPresent; int RXLED = 17; // The RX LED has a defined Arduino pin int greenLED = 19; int blueLED = 18; -int Sensor1 = 0; -float Sensor2 = 0; +float Sensor1 = 0.0; +float Sensor2 = 0.0; +float Sensor3 = 0.0; void eeprom_word_write(int addr, int val); short eeprom_word_read(int addr); int first_time = true;