added missing pd write for sstv

fm-rx
Alan Johnston 3 years ago committed by GitHub
parent dac5496f39
commit 4ae34fc6a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -295,6 +295,7 @@ if __name__ == "__main__":
print("First SSTV stored image detected")
system("/home/pi/PiSSTVpp/pisstvpp -r 48000 -p s2 /home/pi/CubeSatSim/sstv_image_2_320_x_256.jpg")
output(pd, 1)
if GPIO.input(squelch) == False:
print("carrier received!")
command_tx = not command_tx
@ -308,7 +309,7 @@ if __name__ == "__main__":
else:
print("Turning off transmit")
system("echo > command_tx False")
output(pd, 0)
if (command_tx == True):
print ("Sending SSTV image")

Loading…
Cancel
Save

Powered by TurnKey Linux.