From e56b63a8322364baee309e3661d06bdd3a6594bc Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 2 Jul 2026 14:22:12 -0400 Subject: [PATCH] Update transmit.py test cw_transmit_string --- transmit.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/transmit.py b/transmit.py index eab6e23b..e40ecba4 100644 --- a/transmit.py +++ b/transmit.py @@ -1068,7 +1068,15 @@ if __name__ == "__main__": while True: # command_control_check() output (pd, 1) - output (ptt, 1) + output (ptt, 1) + + filename="/home/pi/CubeSatSim/cw0.txt" + print(filename) + file = open(filename) + cw_string = file.readline() + print(cw_string) + cw_transmit_string(cw_string) + try: f = open("/home/pi/CubeSatSim/cwready") f.close()