Software Serial Question

Hi Kian

In the Slave code, there is this:

RS485Serial.write(byteReceived);

I can't see where byteReceived is assigned a value.

Are you trying to send back this data received earlier in the program?

if (RS485Serial.available()) 
  {
      Serial.println("Respuesta Recivida");
      byteSend = RS485Serial.read();

All the best

Ray