void loop() {
if (Serial.available()>0) //this means that the code below will take place when the Bluetooth receives the signal
{
command = Serial.read();

switch(command)
{
case 'F': digitalWrite (13, HIGH); break; // I used F to turn the LED ON but in the car it is used as FORWARD
case 'B': digitalWrite (13, LOW); break; // B is BACKARD for when you are controlling a car
default : break;
}
Serial.print(command);
}
}

This code is to control the Buzzer with the Bluetooth module (without being connected to the car)

// Code to control a buzzer with the bluettoth module// the commands are directed by the app that I used for the robotic car