Arduino code for Light Pattern automated camera system