Please enable JavaScript to use CodeHS

Introduction to Physical Computing with micro:bit

Lesson 2.2 While Loops

Description

In this lesson, students will learn how to use the built-in buttons to control their programs and will learn to use while loops to control components.


Objective

Students will be able to:

  • Use while loops to control the flow of their programs
  • Use buttons to control their programs