MakeBlock - Joystick

Now that you have your LandRaider set up, let's program it so that you can control it using the added Joystick controller.

Set Up:

  • Complete the set up of the Land Raider first.
  • Connect the joystick to port 6

Code:

  • Use the images below to guide your first steps in creating a code for controlling the Land Raider with the joystick
  • Once you have the basics, create a code that allows you to control the Land Raider going forward, turning left, turning right and going backwards
  • Let's race, once you have a code created, challenge another group to a Land Raider race in the hallway. Setup four cones in a line for each group and see which team has written the better code for racing.