Programming the Rasberry Pi on the Shadow Microscope

For code examples see  http://picamera.readthedocs.io/en/release-0.8/quickstart.html

Example: Capturing a series of images as a numbered series with a one minute delay between each capture using the capture_continuous() method:

import time
import picamera

with picamera.PiCamera() as camera:
+++ camera.resolution = (1280, 720)
+++ camera.start_preview()
+++ time.sleep(1)
+++ for i, filename in
enumerate(camera.capture_continuous(‘image{counter:02d}.jpg’)):
+++ print(‘Captured image %s’ % filename)
+++ if i == 100:
+++ +++ break
+++ time.sleep(60)
camera.stop_preview()