You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CubeSatSim/take_photo.py

10 lines
237 B

import time
from picamera import PiCamera
camera = PiCamera()
camera.resolution = (3280,2464)
camera.start_preview()
current_time = time.strftime("%H;%M;%S", time.localtime())
camera.capture('/home/pi/payload/img'+current_time+'.jpg')

Powered by TurnKey Linux.