From 987318bac6b7ac2c7470dc521778d50df3c880e4 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Thu, 25 Aug 2022 06:35:01 -0400 Subject: [PATCH] add prompt in the middle of CW --- cubesatsim/cubesatsim.ino | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index 9b8ade9c..674c7dce 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -3709,7 +3709,13 @@ void transmit_string(char *string) { else { // Serial.println("space between words"); sleep((6.0 * (float)morse_timing)/1000.0); - j++; + j++; + + if (prompt) { +// Serial.println("Need to prompt for input!"); + prompt_for_input(); + prompt = false; + } } } cw_stop = false;