Now let's change the servo code to something you control.
We need to add something that is called an "input", to tell it where to go. In comes the potentiometer. Turning it changes the resistance and we can tell the computer how to use this data. We will also be wiring many more things up soon, so we should make an easy to change variable to set what where servos are plugged into the board. |