Controlling 2 servos with one potentiometer (Continues from the last day 2 activity)
Someday you may want to wire up many of these servos to control a lot of things. We should learn how to change a code to add more of the same thing. Below is code similar to the end of the 3rd lesson from day 2 on controlling one servo with one potentiometer.
Now, below is the same code but just adding the lines needed to control a 2nd servo. Note what changes. Is there a trend for the changes? Try it out and see if you can get it to work.
Remember that below is how to wire up two servos. The potentiometer wiring looks the same as before.