mirror of https://github.com/DJ2LS/FreeDATA.git
20 lines
612 B
Python
20 lines
612 B
Python
from command import TxCommand
|
|
|
|
class TransmitSine(TxCommand):
|
|
"""Command for transmitting a sine wave.
|
|
|
|
This command instructs the modem to transmit a continuous sine wave,
|
|
which can be used for testing and calibration.
|
|
"""
|
|
def transmit(self):
|
|
"""Transmits a sine wave.
|
|
|
|
This method instructs the modem to transmit a sine wave. It is used
|
|
for testing and calibration purposes.
|
|
|
|
Args:
|
|
modem: The modem object.
|
|
"""
|
|
self.ctx.rf_modem.transmit_sine()
|
|
# Code for debugging morse stuff...
|
|
#modem.transmit_morse(0,0,[b'']) |