Arduino code for the robotic arm in the Mechatronics Lab