From c92f91cdf56336022a01db963c47af6a4752ec65 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Wed, 9 Jun 2021 10:26:36 -0400 Subject: [PATCH] SSTV with camera, changed first image to CubeSatSim image 2 --- rpitx.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rpitx.py b/rpitx.py index 0184f54c..ff890fd1 100644 --- a/rpitx.py +++ b/rpitx.py @@ -83,12 +83,12 @@ if __name__ == "__main__": print("No camera") camera_present = 0 try: - file = open("/home/pi/CubeSatSim/sstv_image_1_320_x_256.jpg") + file = open("/home/pi/CubeSatSim/sstv_image_2_320_x_256.jpg") print("First SSTV stored image detected") - system("/home/pi/PiSSTVpp/pisstvpp -r 48000 -p s2 /home/pi/CubeSatSim/sstv_image_1_320_x_256.jpg") + system("/home/pi/PiSSTVpp/pisstvpp -r 48000 -p s2 /home/pi/CubeSatSim/sstv_image_2_320_x_256.jpg") print ("Sending SSTV image") GPIO.output(txLed, txLedOn); - system("cat /home/pi/CubeSatSim/sstv_image_1_320_x_256.jpg.wav | csdr convert_i16_f | csdr gain_ff 14000 | csdr convert_f_samplerf 20833 | sudo rpitx -i- -m RF -f 434.9e3") # > /dev/null 2>&1") + system("cat /home/pi/CubeSatSim/sstv_image_2_320_x_256.jpg.wav | csdr convert_i16_f | csdr gain_ff 14000 | csdr convert_f_samplerf 20833 | sudo rpitx -i- -m RF -f 434.9e3") # > /dev/null 2>&1") GPIO.output(txLed, txLedOff) # time.sleep(1) except: