Code to run the Arduino-based Light Pattern machine