Update program_fm.py remove extra code

fiabv4-auto-tune-fm
Alan Johnston 1 month ago committed by GitHub
parent 17dc154d66
commit 0bf73a5606
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -5,7 +5,7 @@ if __name__ == "__main__":
txf = 434.9
rxf = 435
if (len(sys.argv)) > 1:
print("There are arguments!")
print("There are arguments!")
txf = float(sys.argv[1])
if (len(sys.argv)) > 2:
rxf = loat(sys.argv[2])
@ -14,8 +14,6 @@ if __name__ == "__main__":
rx = "{:.4f}".format(rxf)
print(tx)
print(rx)
output(pd, 1)
output (ptt, 1)
system("gpio -g mode 20 out")
system("gpio -g write 20 1")

Loading…
Cancel
Save

Powered by TurnKey Linux.