Exercise 1 – Moving Ellipse
Prompt: Make something that uses only one sensor on Arduino and makes the ellipse in p5 move on the horizontal axis, in the middle of the screen, and nothing on Arduino is controlled by p5.
Arduino Code
Arduino Code
Demonstration:
Exercise 2 – LED Brightness
Prompt: Make something that controls the LED brightness from p5
Demonstration:
Exercise 3 – Bouncing Ball
Prompt: Take the gravity wind example (https://editor.p5js.org/aaronsherwood/sketches/I7iQrNCul) and make it so every time the ball bounces one led lights up and then turns off, and you can control the wind from one analog sensor
Demonstration: