This is the code for our JS to Processing to Arduino assignment.