Sensor Study

In this project, I used Arduino and processing to visually visualize sensor variables and apply them to coding patterns.

Here, I adapted the pattern changing case in class to an offense that defends the ball by sliding the board (like a goalkeeper).

How does sensor work?

I set the light sensor parameter to a variable adjustment floating board, and used an if statement to define that the ball will bounce in the opposite direction after hitting the board floating up and down on the right.

Coding Process