From bf2a758a61d8ff026967d8a96725aeee2a817e51 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 8 Feb 2026 11:44:38 -0500 Subject: [PATCH] Update transmit.py fix rpicam-still parameters --- transmit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/transmit.py b/transmit.py index 4092237e..7a0d2362 100644 --- a/transmit.py +++ b/transmit.py @@ -138,7 +138,7 @@ def camera_photo(): system("sudo rm /home/pi/CubeSatSim/camera_out.jpg") stored_image = False try: - system("rpicam-still -o /home/pi/CubeSatSim/camera_out.jpg -w 320 -h 256") # > /dev/null 2>&1") + system("rpicam-still -o /home/pi/CubeSatSim/camera_out.jpg --width 320 --height 256") # > /dev/null 2>&1") f = open("/home/pi/CubeSatSim/camera_out.jpg") f.close() print("Photo taken") @@ -668,7 +668,7 @@ if __name__ == "__main__": # from pysstv.sstv import SSTV # camera = PiCamera() print("Testing for camera") - system("rpicam-still -o /home/pi/CubeSatSim/camera_out.jpg -w 320 -h 256") + system("rpicam-still -o /home/pi/CubeSatSim/camera_out.jpg --width 320 --height 256") f = open("/home/pi/CubeSatSim/camera_out.jpg") f.close() print("Camera present")