Please enable JavaScript to use CodeHS

Aplicaciones y codificación de New Mexico Tech

Lesson 3.4 Variables

Description

En esta lección, los alumnos construirán su primer circuito físico utilizando sus dispositivos micro:bit. Aprenderán a utilizar variables para controlar componentes, junto con los comandos analogWritePin y digitalWritePin.


Objective

Students will be able to:

  • Articulate what a variable is and why they are used
  • Assign and utilize variable in their programs
  • Create a simple circuit using micro:bit pins
  • Control an external LED by using the analogWritePin and digitalWritePin commands in micro:bit programs