Update rpitx.py remove pin prints

beta-extra
Alan Johnston 1 year ago committed by GitHub
parent 637acd3262
commit 73e15d85b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -775,8 +775,8 @@ if __name__ == "__main__":
GPIO.setmode(GPIO.BCM) # added to make Tx LED work on Pi Zero 2 and Pi 4 GPIO.setmode(GPIO.BCM) # added to make Tx LED work on Pi Zero 2 and Pi 4
GPIO.setup(txLed, GPIO.OUT) GPIO.setup(txLed, GPIO.OUT)
output(txLed, txLedOn) output(txLed, txLedOn)
print(txLed) # print(txLed)
print(txLedOn) # print(txLedOn)
sleep(4.2) sleep(4.2)
elif (mode == 'e'): elif (mode == 'e'):
print("Repeater") print("Repeater")
@ -828,8 +828,8 @@ if __name__ == "__main__":
GPIO.setmode(GPIO.BCM) # added to make Tx LED work on Pi Zero 2 and Pi 4 GPIO.setmode(GPIO.BCM) # added to make Tx LED work on Pi Zero 2 and Pi 4
GPIO.setup(txLed, GPIO.OUT) GPIO.setup(txLed, GPIO.OUT)
output(txLed, txLedOn) output(txLed, txLedOn)
print(txLed) # print(txLed)
print(txLedOn) # print(txLedOn)
sleep(4.2) sleep(4.2)
else: else:
print("No Low Pass Filter so no telemetry transmit. See http://cubesatsim.org/wiki for instructions on how to build the BPF.") print("No Low Pass Filter so no telemetry transmit. See http://cubesatsim.org/wiki for instructions on how to build the BPF.")

Loading…
Cancel
Save

Powered by TurnKey Linux.