 
   DEBUG_PRINTLN("Starting the sorting machine...");
   motor_turn_analog(&motor_conveyor, 255);
-
-//  while (running){
-//    DEBUG_PRINTLN(get_range(RANGE_TRIG, RANGE_ECHO));
-//    delay(250);
-//  }
 }
 
 void motor_conveyor_interrupt() 

      exit(0);
  }
}

void instant_stop_interrupt() 
{
  if (running == true && stopped == false)
  {
    running = false;
    DEBUG_PRINTLN("Stopping sorting machine...");
  }
  else if (running == false && stopped == true)
  {
    running = true;
    DEBUG_PRINTLN("Starting sorting machine...");
    delay(1000);
  }
}

  distance_to_wall = calibrate_ultra_sound_sensor();
  DEBUG_PRINT("--- distance_to_wall: "); DEBUG_PRINTLN(distance_to_wall);
  
  DEBUG_PRINTLN("- Motors...");
  motor_init(&motor_conveyor, 0.36, MOTOR_CONVEYOR_PIN, MOTOR_CONVEYOR_INT_PIN, 
    motor_conveyor_interrupt);
