Laboratory Experiment 4
Laboratory Experiment 4
COE 5
INPUTS
Push Buttons
Potentiometers
ANALOG IN vs DIGITAL IN
Exercise 1: Potentiometer-Button-Led Circuit 1
The purpose of the Potentiometer-Button-Led Circuit 1 is to demo
how Arduino will be controlling an LED via pushbutton
potentiometer and pushbutton.
Exercise 1: Potentiometer-Button-Led Circuit 1
Write the sketch below and verify the result.
Arduino Cookbook
Recipes to Begin, Expand, and Enhance Your Projects
By Michael Margolis
Introduction to Arduino
by Alan G. Smith