From 580b15c9c134a01b5577e9b63f26e1463ee7dfc6 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 30 Jun 2024 14:47:03 -0400 Subject: [PATCH] Update squelch_cc.py add print --- squelch_cc.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/squelch_cc.py b/squelch_cc.py index 2297c811..9d774817 100644 --- a/squelch_cc.py +++ b/squelch_cc.py @@ -163,19 +163,21 @@ def increment_mode(): # system("reboot -h now") # release = True; - print("Changing mode now") + print("Changing mode now") # system("/home/pi/CubeSatSim/config -" + mode) # system("reboot -h now") - - sleep(10); + print +# sleep(10); except: print("can't change mode") +print("Squelch Command and Control active") debug_mode = False if (len(sys.argv)) > 1: # print("There are arguments!") if ('d' == sys.argv[1]): debug_mode = True + print("Debug mode - mode changes not made") GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False)