Instructables

Step 2: Program.

Picture of Program.
Upload the code below to the Arduino.

Open with the viewer of your choice.