Update program_fm.py 1e6

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

@ -13,8 +13,8 @@ if __name__ == "__main__":
print("There are more arguments!")
rxf = float(sys.argv[2])
print("Programming FM module!\n")
tx = "{:.4f}".format(txf/e6)
rx = "{:.4f}".format(rxf/e6)
tx = "{:.4f}".format(txf/1e6)
rx = "{:.4f}".format(rxf/1e6)
print(f"Transmit frequency: {tx}")
print(f"Receive frequency: {rx}")

Loading…
Cancel
Save

Powered by TurnKey Linux.