It is limited and it is more trouble than it's worth. Same as using String Objects on an UNO.
zoomkat:
You can't have the Arduino to Arduino serial on the same pins that one of the Arduinos uses to Serial Monitor.
Sure you can. I've used the below test code on two arduinos appropriately connected tx/rx/gnd. What is typed in the master serial monitor and sent to the master is echoed back to the master serial monitor and also appears on the slave serial monitor. To make the slave operate the same way to the master, put a diode in the slave tx line with the diode band toward the slave tx pin.
//zoomkat 3-5-12 simple delimited ',' string tx/rx
//from serial port input (via serial monitor)
//and print result out serial port
//Connect the sending arduino rx pin to the receiving arduino rx pin.
//Connect the arduino grounds together.
//What is sent to the tx arduino is received on the rx arduino.
//Open serial monitor on both arduinos to test
String readString;
void setup() {
Serial.begin(9600);
Serial.println("serial delimit test 1.0"); // so I can keep track of what is loaded
}
void loop() {
//expect a string like wer,qwe rty,123 456,hyre kjhg,
//or like hello world,who are you?,bye!,
if (Serial.available()) {
char c = Serial.read(); //gets one byte from serial buffer
if (c == ',') {
if (readString.length() >1) {
Serial.print(readString); //prints string to serial port out
Serial.println(','); //prints delimiting ","
//do stuff with the captured readString
readString=""; //clears variable for new input
}
}
else {
readString += c; //makes the string readString
}
}
}