Introduction

This activity challenges students to consider what the program is instructing the robot to do at each stage. Integrating two distinct functions—movement and waiting for IR messages—is a key element of this activity.

Objectives

  • Practice writing code, uploading and running a program on mBot™, and troubleshooting code
    when problems arise.
  • Collaborate with others to create a solution.
  • Practice skills from earlier activities, including adding comments to programs.