I could never imagine that serial1.print will make such a big diference!!
Here is the small code that works : - )
void setup() {
Serial1.begin(9600);
}
void loop() {
Serial1.println(1);
delay(1000); // delay in between reads for stability
Serial1.println(0);
}
Am very happy because this time I found the solution myself :- )
However I did try to reverse the code just to experiment. From Uno > Fio.
There is no serial1 on Uno. How to send the character via xbee to Fio?