|
|
|
@ -396,7 +396,7 @@ if __name__ == "__main__":
|
|
|
|
sleep(0.5)
|
|
|
|
sleep(0.5)
|
|
|
|
if (command_tx == False):
|
|
|
|
if (command_tx == False):
|
|
|
|
output(txLed, txLedOn)
|
|
|
|
output(txLed, txLedOn)
|
|
|
|
sleep(0.01)
|
|
|
|
sleep(0.1)
|
|
|
|
output(txLed, txLedOff)
|
|
|
|
output(txLed, txLedOff)
|
|
|
|
if GPIO.input(squelch) == False:
|
|
|
|
if GPIO.input(squelch) == False:
|
|
|
|
print("carrier received!")
|
|
|
|
print("carrier received!")
|
|
|
|
@ -427,7 +427,7 @@ if __name__ == "__main__":
|
|
|
|
sleep(0.5)
|
|
|
|
sleep(0.5)
|
|
|
|
if (command_tx == False):
|
|
|
|
if (command_tx == False):
|
|
|
|
output(txLed, txLedOn)
|
|
|
|
output(txLed, txLedOn)
|
|
|
|
sleep(0.01)
|
|
|
|
sleep(0.1)
|
|
|
|
output(txLed, txLedOff)
|
|
|
|
output(txLed, txLedOff)
|
|
|
|
if GPIO.input(squelch) == False:
|
|
|
|
if GPIO.input(squelch) == False:
|
|
|
|
print("carrier received!")
|
|
|
|
print("carrier received!")
|
|
|
|
|