 #define    upStepperDelay   3    //to wait before up/down steps
 #define    roStepperDelay   15   //to wait before rotation steps
 
-#define    currentThreeshold 5    //current where pump gets a bill
-#define    currentOffset     2    //offset for current sensor
 #define    maxUpSteps        650   //maximum number of steps pump should move 50 ----> 1 revolation 
 #define    step72            10   //steps required to rotate 72 degrees
 

#define    roPin4       11
//other outputs
#define    drawer       12
#define    warehouse    13
#define    pump         A0 //used as digital O/P as digital pins are all used
//sensors
#define    infrared     2  //interrupt pin
#define    doorSwitch   3  //interrupt pin
#define    current      A1
#define    temperature  A2
#define    lightLevel   A3
//limits for initialization

void getBill(){
  int steps = 0; //for storing steps to return to initial position again
  digitalWrite(pump, HIGH); //activates the pump
  while(steps < maxUpSteps){ //go down until gets one bill
    stepDown(); //move one step down
    steps++;
  }
