Project 5: Go Forward if See Ball

Project 5: Go forward if see ball

This time, we use CN1 for the ball sensor instead of CN2. Make sure to turn on the ball (there is a switch  on the side of the ball). If the robot does not react to the ball, try doing a sensor monitor to check what values the ball sensor is taking and adjust the % in the if statement.

Back to blog