Code to drive Arduino based time lapse photo rail.