Update rpitx.py

pull/120/head
alanbjohnston 5 years ago committed by GitHub
parent 25d8a35827
commit e40054d496
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -65,7 +65,7 @@ if __name__ == "__main__":
GPIO.output(txLed, txLedOn);
os.system("raspistill -o ~/camera_out.jpg -w 640 -h 496") # > /dev/null 2>&1")
print("Picture taken")
os.system("sudo python3 -m pysstv --mode PD120 ~/camera_out.jpg sstv_camera.wav") # > /dev/null 2>&1")
os.system("sudo python3 -m pysstv --mode PD120 ~/camera_out.jpg ~/sstv_camera.wav") # > /dev/null 2>&1")
print ("Sending picture")
os.system("cat sstv_camera.wav | csdr convert_i16_f | csdr gain_ff 7000 | csdr convert_f_samplerf 20833 | sudo rpitx -i- -m RF -f 434.9e3") # > /dev/null 2>&1")

Loading…
Cancel
Save

Powered by TurnKey Linux.