Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. import picamera
  2.  
  3. camera = picamera.PiCamera()
  4. # Turn the camera's LED off
  5. camera.led = False
  6. # Take a picture while the LED remains off
  7. camera.capture('foo.jpg')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement