Sir, When ever I try to pass any character from Serial Bluetooth Terminal app it is not working. But when I try to pass the character from serial monitor of Arduino it is transmitting to serial monitor and also to phone via Bluetooth. From that thing I understood that receiving data from Arduino via Bluetooth to phone is working but transmitting data from phone to Arduino is not working. Hereby attaching the code what I used in Arduino side.
char Incoming_value = 0;
void setup()
{
Serial.begin(9600);
pinMode(LED_BUILTIN, OUTPUT);
}
void loop()
{
if (Serial.available() > 0)
{
digitalWrite(LED_BUILTIN, HIGH);
Incoming_value = Serial.read();
Serial.write(Incoming_value);
delay(500);
digitalWrite(LED_BUILTIN, LOW);
}
Hopefully waiting for your help and thanks in advance.
Sir, When ever I try to pass any character from Serial Bluetooth Terminal app it is not working. But when I try to pass the character from serial monitor of Arduino it is transmitting to serial monitor and also to phone via Bluetooth. From that thing I understood that receiving data from Arduino via Bluetooth to phone is working but transmitting data from phone to Arduino is not working. Hereby attaching the code what I used in Arduino side.
char Incoming_value = 0;
void setup()
{
Serial.begin(9600);
pinMode(LED_BUILTIN, OUTPUT);
}
void loop()
{
if (Serial.available() > 0)
{
digitalWrite(LED_BUILTIN, HIGH);
Incoming_value = Serial.read();
Serial.write(Incoming_value);
delay(500);
digitalWrite(LED_BUILTIN, LOW);
}
Hopefully waiting for your help and thanks in advance.