Skip to content

About transmitting data from Serial Bluetooth Terminal app to arduino due #4

Description

@JMJ15

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions