A simple API made to optimize control of Arduino-based robots