Potentiometers and AnalogRead - How to Arduino #4

by meanpc in Circuits > Arduino

1709 Views, 29 Favorites, 0 Comments

Potentiometers and AnalogRead - How to Arduino #4

How to Arduino 4.png
I demonstrate how to use AnalogRead to read the position of a potentiometer, use the MAP command to translate the value that can then be used to change the position of an attached servo motor.