Please enable JavaScript to use CodeHS

Introduction to Physical Computing with Arduino

Lesson 1.4 Variables

Description

In this lesson, students will build their first physical circuit using a breadboard with their Arduino devices. They will learn to use variables to control components, along with the analogRead and map commands.


Objective

Students will be able to:

  • Articulate what a variable is and why they are used and assign and utilize variable in their programs
  • Create a simple circuit using their Arduino device and a breadboard
  • Control an LED by using the analogRead and map commands in Arduino programs