test
This commit is contained in:
@@ -125,6 +125,7 @@ def process_command(tef: AutoFMAM, data: bytes, state: State, conn: socket.socke
|
|||||||
tef.Tune_To(TEF6686.TuneTo_Mode.Preset, freq)
|
tef.Tune_To(TEF6686.TuneTo_Mode.Preset, freq)
|
||||||
state.last_tune_am = freq
|
state.last_tune_am = freq
|
||||||
freq /= 10
|
freq /= 10
|
||||||
|
print(freq, tef.modulation)
|
||||||
out += f"T{freq*10}\nM{tef.modulation}\n".encode()
|
out += f"T{freq*10}\nM{tef.modulation}\n".encode()
|
||||||
elif cmd.startswith(b"G"):
|
elif cmd.startswith(b"G"):
|
||||||
eqims = int(cmd.decode().removeprefix("G").strip(), 2)
|
eqims = int(cmd.decode().removeprefix("G").strip(), 2)
|
||||||
|
|||||||
Reference in New Issue
Block a user