Skip to content

Instantly share code, notes, and snippets.

@MickaelBergem
Created February 21, 2016 12:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MickaelBergem/95a3d24d9f72966c033e to your computer and use it in GitHub Desktop.
Save MickaelBergem/95a3d24d9f72966c033e to your computer and use it in GitHub Desktop.
Quick'n dirty script to capture images for a timelapse
#!/usr/bin/python3
import os
import time
from datetime import datetime
while(True):
os.system("/usr/bin/raspistill -o 'timelapse-{}.jpg'".format(datetime.now().isoformat()))
time.sleep(15)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment