Update program_fm.py don't print arguments

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

@ -7,10 +7,10 @@ if __name__ == "__main__":
txf = 434.9e6
rxf = 435e6
if (len(sys.argv)) > 1:
print("There are arguments!")
# print("There are arguments!")
txf = float(sys.argv[1])
if (len(sys.argv)) > 2:
print("There are more arguments!")
# print("There are more arguments!")
rxf = float(sys.argv[2])
print("Programming FM module!\n")
tx = "{:.4f}".format(txf/1e6)

Loading…
Cancel
Save

Powered by TurnKey Linux.