diff --git a/rpitx.py b/rpitx.py index 08f929a1..cd7eaead 100644 --- a/rpitx.py +++ b/rpitx.py @@ -177,7 +177,7 @@ if __name__ == "__main__": # from pysstv.sstv import SSTV # camera = PiCamera() print("Testing for camera") - system("raspistill -o /home/pi/CubeSatSim/camera_out.jpg -w 320 -h 256") + system("timeout 10 raspistill -o /home/pi/CubeSatSim/camera_out.jpg -w 320 -h 256") f = open("/home/pi/CubeSatSim/camera_out.jpg") print("Camera present") camera_present = 1