Arduino Zero + RS485 Shield Serial1 not working

Hi Have two Arduino Zero Boards With a RS485 LinkSprite Shield. I created a master and slave setup. When I write using Serial1 from the master to the slave the slave cannot read the value from RX. The serial1.available() function returns 0 on the slave side. I have not had any luck reading the data sent.

Here is the code:

Master:

int d9 = 9; // P2 connected to digital pin 9

void setup() {
Serial.begin(9600);
while (!Serial);
Serial1.begin(9600);
while (!Serial1);
digitalWrite(d9, HIGH);
Serial.print("Master: Ready To Go");
}

void loop() {
delay(1000);
Serial.println("Hello World");
digitalWrite(d9, LOW);
Serial1.println("Hello World");
digitalWrite(d9, HIGH);
}

Slave:

int d9 = 9; // P2 connected to digital pin 9

void setup() {
Serial.begin(9600);
while (!Serial);
Serial1.begin(9600);
while (!Serial1);
digitalWrite(d9, HIGH);
Serial.print("Slave 1: Ready To Go");
}

void loop() {

Serial.println(Serial1.available());
delay(500);
while(Serial1.available() > 0) {
char b = Serial1.read();
delay(500);
Serial.println("I received");
Serial.println(b);
}
}

The setup is shown in the attached image.

The slave code won't even compile, so it is silly to talk about it working or not working.

I updated the slave code.