adafruit / Adafruit-VC0706-Serial-Camera-Library

Library for VC0706-based Serial JPEG Cameras
http://www.adafruit.com/products/397
136 stars 110 forks source link

Intervalometer example #4

Closed Jacksonbaker323 closed 11 years ago

Jacksonbaker323 commented 11 years ago

Added some example code that takes an image repeatedly. Uses the reset() function of the camera library. This prevents the camera from sending the same image over and over again to the arduino. This addresses this forum post (http://forums.adafruit.com/viewtopic.php?f=25&t=37635&p=186128&hilit=camera#p186128)

I also changed the filename loop so that it can be easily adjusted to take any number of images. This new loop probably uses more memory for the String objects, but it's more readable and easily modifiable for beginning programmers.