Getting Inputs

In this section, we’ll look at how you can use buttons, switches and more to get input into your circuits.

Components you will need

Some background

Step By Step

  1. Tutorial: Tutorial: Using a pushbutton
  2. Tutorial: Tutorial: Using a switch
  3. Tutorial: Tutorial: Using a potentiometer

Coding Concepts

Practice Exercise

Exercise

Combine a switch and potentiometer. The switch should turn on and off the light while the potentiometer will fade up and down the light (but only when its on).


Table of contents