 void setup() {
   // put your setup code here, to run once:
   Serial.begin (9600);
+  //while(!Serial);
+  Serial.println("passou aqui");
   RadioSetup();
   lcd.begin(16,2);
   lcd.setBacklight (HIGH);
   //Report.Robot = 1;
+  state[0] = Data[0];
+  state[1] = Data[1];
+  state[2] = Data[2];
+  lcd.setCursor (5,0);
+  lcd.print ("UNBALL");
+  lcd.setCursor(0,1);
+  lcd.print("FUTEBOL DE ROBOS");
 
 }
 
 void loop() {
   // put your main code here, to run repeatedly:
   ReceiveReport();
-  if(state[0] != Data[0].Message || state[1] != Data[1].Message || state[2] != Data[2].Message){
+  lcd.setCursor (11,0);
+  sprintf(test, "%d", u++);
+  lcd.print (" ");
+  if(state[0] != Data[0] || state[1] != Data[1] || state[2] != Data[2]){
     Serial.println(Report.Robot);
     Serial.println(Report.Message);
     Print_lcd();
-    state[0] = Data[0].Message;
-    state[1] = Data[1].Message;
-    state[2] = Data[2].Message;
+    state[0] = Data[0];
+    state[1] = Data[1];
+    state[2] = Data[2];
   }
-  delay(500);
+  
+  delay(100);
 }
 
 void RadioSetup(){

}

void Print_lcd(){
  if (Data[0].Message == 0 && Data[1].Message == 0 && Data[1].Message == 0){
    Clear_lcd();
    lcd.setCursor (5,0);
    lcd.print ("UNBALL");

  }
  else{
    Clear_lcd();
    lcd.setCursor (0,0);
    lcd.print ("R00");
    lcd.setCursor (6,0);
    lcd.print ("R01");
    lcd.setCursor (12,0);
    lcd.print ("R02");
  
    if (Data[0] == 1){
      lcd.setCursor (0,1);
      lcd.print ("LOST");
    }
    else if(Data[0] == 2){
      lcd.setCursor (0,1);
      lcd.print ("OK");
    }
    else{
      lcd.setCursor (0,1);
      lcd.print ("OFF");
    }
    
    if (Data[1] == 1){
      lcd.setCursor (6,1);
      lcd.print ("LOST");
    }
    else if(Data[1] == 2){
      lcd.setCursor (6,1);
      lcd.print ("OK");
    }
    else{
