Controlling a brushless motor ESC with arduino