Sending RS232 command that has ""

Hello,

I am trying to send an RS232 command The command is.

xConfiguration SystemUnit Name: "Main Conf Rm"

The quotation marks seem to be required. So the arduino command looks like this.

Serial.println("xConfiguration SystemUnit Name: "Main Conf Rm"");

Well... That does not work. Too many "" So what should I do?

Serial.println("xConfiguration SystemUnit Name: \"Main Conf Rm\"");

And code tags look like this...

[code]Please put your code inside them when posting on the forum![/code]

Try

Serial.println("xConfiguration SystemUnit Name: "Main Conf Rm"");

The backslash means take the next char literally.

HTH

a7

Thank you very much. I tried it today and it looks like it works perfectly.