added python read after raspistill to test camera

pull/139/head
alanbjohnston 4 years ago committed by GitHub
parent 5d31a692e8
commit 71c284e91d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -164,6 +164,8 @@ if __name__ == "__main__":
# from picamera import PiCamera # from picamera import PiCamera
# from pysstv.sstv import SSTV # from pysstv.sstv import SSTV
# camera = PiCamera() # 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") print("Camera present")
camera_present = 1 camera_present = 1
# camera.close() # camera.close()

Loading…
Cancel
Save

Powered by TurnKey Linux.