From bb63a41c705fb8795fe99f831ddb2818a0c3abfe Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sun, 18 Sep 2022 16:21:10 -0400 Subject: [PATCH] added clockgen prints --- cubesatsim/cubesatsim.ino | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index bf4c172f..4bddb94a 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -505,7 +505,10 @@ void transmit_on() { else clockgen.setClockFSK(); clockgen.enableOutputs(true); - } + Serial.println("Enable clock outputs!"); + } else { + Serial.println("Enable clock outputs!"); + } } else if (mode == CW) { // Serial.println("Transmit on!"); @@ -537,6 +540,9 @@ void transmit_off() { if (clockgen.enableOutputs(false)) { start_clockgen(); clockgen.enableOutputs(false); + Serial.println("Disable clock outputs!"); + } else { + Serial.println("Disable clock outputs!"); } } @@ -2155,6 +2161,9 @@ void config_radio() if (clockgen.setClockBPSK()) { start_clockgen(); clockgen.setClockBPSK(); + Serial.println("Config clock for BPSK"); + } else { + Serial.println("Config clock for BPSK"); } transmit_on(); } @@ -2170,6 +2179,9 @@ void config_radio() if (clockgen.setClockFSK()) { start_clockgen(); clockgen.setClockFSK(); + Serial.println("Config clock for FSK"); + } else { + Serial.println("Config clock for FSK"); } transmit_on(); }