Serial.print(touchBuffer);//there's no write in this version of Arduino
The char datatype is a signed type, meaning that it encodes numbers from -128 to 127. For an unsigned, one-byte (8 bit) data type, use the byte data type.
for (int i = 0; i < touchIndex; i++) Serial.print(touchBuffer);//there's no write in this version of Arduino Serial.flush();
The code is too long to post - "The message exceeds the maximum allowed length (9500 characters).".
iMac5:Downloads nick$ ls -l Receiver.c -rw-r--r-- 1 nick staff 5432 13 Jan 15:03 Receiver.c