diff --git a/rpitx.py b/rpitx.py index b45e829b..c9429424 100644 --- a/rpitx.py +++ b/rpitx.py @@ -32,6 +32,14 @@ GPIO.output(27, 0) print(transmit) +try: + file = open("/home/pi/CubeSatSim/.mode") + mode = file.read(1) +except: + mode = "f" +print("Mode char is: ") +print(mode) + try: file = open("/home/pi/CubeSatSim/sim.cfg") callsign = file.readline().split(" ")[0]