From 71c284e91d51e7396326948ac643a5f8e021cdd3 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 18 Dec 2021 17:19:48 -0500 Subject: [PATCH] added python read after raspistill to test camera --- rpitx.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rpitx.py b/rpitx.py index fa74811d..08c76296 100644 --- a/rpitx.py +++ b/rpitx.py @@ -164,6 +164,8 @@ if __name__ == "__main__": # from picamera import PiCamera # from pysstv.sstv import SSTV # camera = PiCamera() + system("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 # camera.close()