Please enable JavaScript to use CodeHS

Utah Explorando la Informática

Lesson 3.5 For loops (bucles for)

Description

En esta lección, los alumnos conectarán un altavoz a su circuito físico para reproducir música utilizando su micro:bit. Aprenderán a utilizar for loops para controlar componentes, junto con el comando playNote.


Objective

Students will be able to:

  • Use for loops to control the flow of their programs
  • Control an external speaker by using the playNote command in micro:bit programs
  • Understand the correlation between frequency values and the pitch of a tone