MKR1000 Serial Communication

Hello guys, I have two Arduinos UNO and I made serial communication. I also have two MKR1000s and I upload same programms and that isn't working. I will attach programms. Please help!!!

Problem:

On serial monitor I see data when Sender write but Reciever don't recieve that. When I turn on Serial monitor on Reciever and write A it turns on led. They don't communicate I think.

Connecting:
RX--> TX
TX--> RX
GND-->GND

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

void loop() {
Serial.write('A');
delay(2500);
Serial.write('a');
delay(2500);
}
int led=3;
char data;

void setup() {
Serial.begin(9600);
pinMode(led, OUTPUT);
}

void loop() {
if (Serial.available()>0= {
  data=Serial.read();
  if(data == 'A') {
    digitalWrite(led, HIGH);
  }
  if(data == 'a') {
    digitalWrite(led, LOW);
  }
}
}

Recieve.ino (257 Bytes)

Send.ino (121 Bytes)

Please insert your code in the text instead of attaching; your codes are small enough. And use code tags (
** **[code]** **
your code here
** **[/code]** **
) when doing so.

You're missing out on advise from people that use a cell phone.

No problem, I fixed it. Do you maybe know how to fix my problem?

Found Arduino MKR1000 Serial Ports - Installation & Troubleshooting - Arduino Forum.

Try Serial1 instead of Serial.

Thank you very much. Now it works when I set Serial1