From 2c179afb0f70412e1ad51b03706c8f051f34e6c2 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sun, 26 Feb 2023 17:51:08 -0500 Subject: [PATCH] print sim telem config info --- cubesatsim/cubesatsim.ino | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index 7610faee..1e61e78f 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -876,7 +876,7 @@ void config_simulated_telem() { sim_mode = TRUE; - Serial.println("Simulated telemetry mode!"); + Serial.println("Simulated telemetry mode!!"); // srand((unsigned int)time(0)); @@ -909,9 +909,9 @@ void config_simulated_telem() temp_min = rnd_float(10, 20); // #ifdef DEBUG_LOGGING -// for (int i = 0; i < 3; i++) -// printf("axis: %f angle: %f v: %f i: %f \n", axis[i], angle[i], volts_max[i], amps_max[i]); -// printf("batt: %f speed: %f eclipse_time: %f eclipse: %f period: %f temp: %f max: %f min: %f\n", batt, speed, eclipse_time, eclipse, period, tempS, temp_max, temp_min); + for (int i = 0; i < 3; i++) + printf("axis: %f angle: %f v: %f i: %f \n", axis[i], angle[i], volts_max[i], amps_max[i]); + printf("batt: %f speed: %f eclipse_time: %f eclipse: %f period: %f temp: %f max: %f min: %f\n", batt, speed, eclipse_time, eclipse, period, tempS, temp_max, temp_min); // #endif time_start = (long int) millis();