How to Arduino #4 – Potentiometers and AnalogRead

Now Reading
How to Arduino #4 – Potentiometers and AnalogRead



This is an awesome beginner Arduino kit – http://www.amazon.com/gp/product/B00D9NQDAG/ref=as_li_tf_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=B00D9NQDAG&linkCode=as2&tag=me0d08-20
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.

http://www.embeddedrelated.com/showarticle/529.php

source

Comments

comments

What's your reaction?
Love It
0%
Like It
0%
Want It
0%
Had It
0%
Hated It
0%
About The Author
admin