 #define RxD 2
 #define TxD 3
 
+#define Handler 13
 
 SoftwareSerial blueToothSerial(RxD,TxD);//the software serial port 
 

    }

    return i;
}

//configure the Bluetooth through AT commands


void setup() 
{ 
    // use PIN 9 for AT mode
    pinMode(9, OUTPUT);
    digitalWrite(9, HIGH);

    pinMode(Handler, OUTPUT);
  
    Serial.begin(9600);   //Serial port for debugging
    pinMode(RxD, INPUT);    //UART pin for Bluetooth
