 {
   advanced_motor_update_degrees(&adv_motor_separator);
   //DEBUG_PRINTLN("int");
-}
-
-void button_init(int16_t pin, void(*func)(void))
-{
-  pinMode(pin, INPUT_PULLUP);
-  attachInterrupt(digitalPinToInterrupt(pin), func, RISING);
 }
 
 int32_t calibrate_ultra_sound_sensor()

      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);
  }
}


  DEBUG_PRINTLN("Starting the sorting machine...");
  motor_turn_analog(&motor_conveyor, 255);
}

void motor_conveyor_interrupt() 
