         int motor_index, num_steps;
         sscanf(tmp_str + i + 1, "%d%d", &motor_index, &num_steps);
         motors_control.move_motor(motor_index, num_steps);
+        motors_control.set_motor_running(motor_index, 1);
         is_command_running = 1;
         i += 3;
       }

#include "motors_control.h"
#include "button_controller.h"
#include "jenny5_types.h"

byte potentiometers_pins[4] = {0, 1, 2, 3};
t_limit_pair potentiometer_limits[4] = {{500, 1000}, {500, 1023}, {200, 600}, {300, 600}};

byte ultrasonic_trig_pins[2] = {48, 50};
byte ultrasonic_echo_pins[2] = {49, 51};

t_motors_control motors_control(4);
t_potentiometers_controller potentiometers_control (4, potentiometers_pins, potentiometer_limits);
t_ultrasonic_sensors_controller ultrasonic_sensors_controller (2, ultrasonic_trig_pins, ultrasonic_echo_pins);

char is_command_running;

char firmware_version[] = "2015.12.20.0";// year.month.day.built number

char current_buffer[65];


        if (POTENTIOMETER == type)
        {
            if (0 == potentiometers_control.isWithinLimits(sensor_index))
              limit_reached = true;
        }
        else if (ULTRASOUND == type)
        {
