Sending text join to Arduino

Use

char end_char = '>';
String DATO;

void setup() { 
Serial.begin(9600);
}

void loop() { 
  if(miBT.available()) {
    DATO = miBT.readStringUntil(end_char);
    Serial.println(DATO);
  }
}

What terminals do you have connected the Bluetooth module to the Arduino?

1 Like