Arduino code for a camera intervalometer