
value of our x variable. Thankfully, three sets of
conditional statements are all we need to make
sure our angles are calculated correctly, no
matter what x and y values are chosen.
USE IT!
With that, our project is complete. As you move
the joystick left and right, the pen should move
from side to side, and as you move the joystick up
and down, the pen should follow!
This is a relatively simple first step. One of the
great things about a project like this is all the
amazing ways in which it can be added to and
customized. Continue reading
at makezine.com/go/robot-
arm-drawbot for more ideas.
And check out my book
Make: Robotic Arms, in which ...