Code for a robot arm controlled by Leap and Arduino