Guest User

Untitled

a guest
Jan 16th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. from picamera import *
  2. from time import sleep
  3.  
  4. try:
  5. camera = PiCamera()
  6. camera.start_preview()
  7. camera.saturation = 100
  8. while 1:
  9. sleep(0.5)
  10. finally:
  11. camera.stop_preview()
  12. camera.close()
Add Comment
Please, Sign In to add comment