Code for Arduino based robots