SHARE
TWEET

Untitled

a guest Sep 21st, 2017 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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')
RAW Paste Data
Top