Arduino bluetooth Car not moving at all...need urgent help !!

I recently started my first arduino project as Bluetooth controlled car with hc-05 and motor driver L-298N. I followed the exact instructions of which i am uploading a schematic connections. the bluetooth module seems to work fine (as soon I connected it with the mobile app it blinks with a delay of 5-6 sec.).
the motor doesn’t rotate at all on pressing the buttons on the app.
I am using Li-Po battery (2200 MAh,11.1V), connected to L298N.
I request to please help as soon as possible as i want to complete this project hardheartedly.
I am attaching the diagram of my connections along with the code i uploaded.
1.) diagram.


2.)code
```
*int motorLpin1=2;
int motorLpin2=3;
int motorRpin1=4;
int motorRpin2=5;
int motorLpwm=10;
int motorRpwm=11;

int motorSpeed=125;
int turn=50;

void setup() {
Serial.begin(9600);
Serial.flush();
pinMode(motorLpin1,OUTPUT);
pinMode(motorLpin2,OUTPUT);
pinMode(motorRpin1,OUTPUT);
pinMode(motorRpin2,OUTPUT);
pinMode(motorLpwm,OUTPUT);
pinMode(motorRpwm,OUTPUT);
}

void loop() {
String input="";
while(Serial.available()){
input+=(char)Serial.read();
delay(5);
}

if(input==“n”){
stp();
}
else if(input==“F”){
fwd();
}
else if(input==“R”){
rev();
}
else if(input.indexOf(“TL”)>-1){
lft();
}
else if(input.indexOf(“TR”)>-1){
rght();
}
else if(input!=""){
motorSpeed=input.toInt();
}
}

void fwd(){
analogWrite(motorLpwm,motorSpeed);
analogWrite(motorRpwm,motorSpeed);
digitalWrite(motorLpin1,1);
digitalWrite(motorLpin2,0);
digitalWrite(motorRpin1,1);
digitalWrite(motorRpin2,0);
}

void rev(){
analogWrite(motorLpwm,motorSpeed);
analogWrite(motorRpwm,motorSpeed);
digitalWrite(motorLpin1,0);
digitalWrite(motorLpin2,1);
digitalWrite(motorRpin1,0);
digitalWrite(motorRpin2,1);
}

void lft(){
analogWrite(motorLpwm,motorSpeed-turn);
analogWrite(motorRpwm,motorSpeed+turn);
digitalWrite(motorLpin1,0);
digitalWrite(motorLpin2,1);
digitalWrite(motorRpin1,1);
digitalWrite(motorRpin2,0);
}

void rght(){
analogWrite(motorLpwm,motorSpeed+turn);
analogWrite(motorRpwm,motorSpeed-turn);
digitalWrite(motorLpin1,1);
digitalWrite(motorLpin2,0);
digitalWrite(motorRpin1,0);
digitalWrite(motorRpin2,1);
}

void stp(){
analogWrite(motorLpwm,0);
analogWrite(motorRpwm,0);
digitalWrite(motorLpin1,1);
digitalWrite(motorLpin2,1);
digitalWrite(motorRpin1,1);
digitalWrite(motorRpin2,1);
}*
```

Does "need urgent help" mean that you want to jump the queue and get advice before other more patient people? That would not be nice.

I suggest you create a separate serial port using SoftwareSerial for the HC05 as that will allow you to use the HardwareSerial port to send debug messages to the Arduino Serial Monitor and check if you are actually receiving any data.

What is sending the data?

The system in your program for receiving data is not very robust. Have a look at the examples in Serial Input Basics - simple reliable ways to receive data.

...R