Recitation 9

I made a windmill that will rotate with the control of Arduino:

It is relatively simple: I use a picture of the windnill using media controller:

img = loadImage(“img.jpg”)

Then use serial communication to let Arduino send rotation instruction to processing using a potential meter. When I rotate the potential meter the windmill will rotate correspondingly.

Leave a Reply