Engineering and design

1) Write your descriptions and comments for each section of code, explaining what each program step or section does.  

Identify Subroutines and Sub-functions in the code as needed. The code template is attached (arduino *.ino file)

2) Write an algorithm for the code, which details the sub-tasks in the program. A pdf file including instructions and an outline for the algorithm is attached.

This is an INDIVIDUAL assignment.  Submit both documents to the assignment at the same time.