Thanks for the code, unfortunately because I only have one Arduino I have had to try and combined the code into one which I am hoping is still ok? I tried the code out and the serial monitor showed a long line of this:
A
79
A
125
A
106
A
87
A
245
Not sure why this is, most likely my code so here it is:
void setup()
{
Serial.begin(1200);
}
void loop()
{
Serial.println('A');
while(Serial.available()<1);
Serial.println(Serial.read());
delay(1000);
}
Edit: Whilst typing the above reply the serial monitor appears to have calmed down and now shows A, 71, A, 71, A etc. a lot with the odd flicker to random number.