Lesson goal: Read a voltage from the Arduino (an analog value)

Home

This lesson will show you how to read a voltage from one of the analog inputs (A0..A5) on the Arduino.
analogread(pin)
Move the mouse over a dotted box for more information.

Now you try. Read voltages from the outside world!

Type your code here:


See your results here: