## Lesson goal: Linearly scale a potentiometer

Previous: Real time light-level plot | Home | Next: Make an etch-a-sketch

In a previous lesson, you learned how to read a voltage, as seen (or sampled) by the Arduino. This lesson will show you how to read a voltage, as generated by a potentiometer, then construct a linear function of the form $y=mx+b$ to scale it to the screen.