Remote Control II

This activity was based on an exercise by Peter Meade.

In this activity, you will write a project that will enable someone to use the computer keyboard to control the Finch. Maybe you can even use your program to show the Finch to younger students at your school! For this project, the Finch should do the following:

  1. When the user presses the up arrow, the robot should move forward. The robot should stop moving forward when the user releases the up arrow.
  2. When the user presses the down arrow, the robot should move backward. The robot should stop moving backward when the user releases the down arrow.
  3. When the user presses the left arrow, the robot should turn left. The robot should stop turning when the user releases the left arrow.
  4. When the user presses the right arrow, the robot should turn right. The robot should stop turning when the user releases the right arrow.

Extension: Use your imagination! Add additional keyboard controls, or add lights and sound.

Grades: 
Activity Level: