Skip to content

Commit

Permalink
test Camera functions
Browse files Browse the repository at this point in the history
  • Loading branch information
KeithTheEE committed Feb 18, 2015
1 parent c4604b6 commit 9c6d69c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pictureTaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
def takePic():
img = 'template.png'
camera = picamera.PiCamera()
#camera.start_preview()
#sleep(3)
#camera.stop_preview()
camera.start_preview()
sleep(3)
camera.stop_preview()
camera.capture(img)
return img

Expand Down

0 comments on commit 9c6d69c

Please sign in to comment.