 #include <Servo.h> 
 Servo drawerServo;// create servo object to control a servo
 Servo warehouseServo;// create servo object to control a servo
-#define drawerServoOpen     10
-#define drawerServoClose    100
-#define WarehouseServoOpen  10
-#define WarehouseServoClose 100
+#define drawerServoOpen     100
+#define drawerServoClose    10
+#define WarehouseServoOpen  100
+#define WarehouseServoClose 10
 
 //variables definition
 char  serialData;             //for storing serial string

#define    trayLimit    A4
#define    upLimit      A5

#define    releaseBillDelay 1000 //to wait untill bill released
#define    getBillDelay     1000 //to wait until bill catched for sure
#define    upStepperDelay   3    //to wait before up/down steps
#define    roStepperDelay   10   //to wait before rotation steps

//dispense one bill from given warehouse number
void dispenseOneBill(int warehouseNumber){
  moveToWarehouse(warehouseNumber); //move to drug warehouse
  //stopMotors(); //to solve power issue but now not needed
  getBill(); //get one bill using pump
  moveToWarehouse(0); //return to empty warehouse
  releaseBill(); //release bill to the door
  //stopMotors(); //to solve power issue but now not needed
}

//move to given warehouse number
