Assignment due November 1, 2017

For this assignment, we had two parts to complete:

The first was to be able to control a Servo Motor with our mouse by using both Arduino and Processing. The idea was that when our mouse was on the left, the motor would move to the right, and vice versa. This assignment was simpler than it seemed. I read up on a couple of websites in order to get some guidance and then realized that it’s a lot like the dimmer example. Here is my code for Arduino:

And here is my code for Processing:

The second part was to control an LED using Processing rectangles. Here is my Arduino code:

 

And here is my Processing code:

 

By looking at others posts I realized that we all made use of Examples and varied them in different ways, but the codes seem quite similar all in all. 

Leave a Reply

Your email address will not be published. Required fields are marked *