Added some support for potentiometers and movement of the arm