 float tempFloat       = 0;    //for saving sensor data temporary
 int billCount         = 0;    //for storing bill count added by ISR
 int selectedWarehouse = 0;    //to know what warehouse is above the door "0 is the empty one"
-
+bool closeDrawer = false;     //to close door from main loop
 /// using half step mode
 int seq[8][4]={ {1,0,0,0},
                 {1,1,0,0},

    else if(serialData == 'b')
      initialization();
  }
}

//initialize motors "moves them to initial position"

  warehouseServo.write(WarehouseServoOpen);
  delay(servoPositionDelay); //waits servo to reach position
  warehouseServo.detach(); //detaches the warehouseServo
}

void callCloseDoor(){
  //used as ISR can't have delay()
  //and delay is needed to wait for servo
  //to get to its position
  //so a variable is used instead
  //to call closeDoor() from main loop
  closeDrawer = true;
  
}

void closeDoor(){
