String program help

I am relatively new to programming and am trying to write a string from the Arduino uno to a device that contains the chip atmega168. I can send a command set by the manufacturer of 001mi. followed by carriage return in the arduino's serial monitor and even receive a response. Of course I am using a ttl converter. Here is the communication protocol from the manufacturer. The signaling is half duplex (party line) async like RS232, but with a different hardware interface. Undriven, (space), the two lines are between 10 and 15V apart, and driven, (mark) they are about 2V apart. There is no "ground" reference. One advantage of this is that you can use a normal terminal or terminal emulator program to talk to the Bus devices: 9600 Baud, 8 bits, no parity, 2 stop bits. I have heard there is no support for the 2 stop bits. Here is my start to the program. Can someone steer me in the right direction? I know I don't have the concept of strings.
#include <SoftwareSerial.h>
#define RX_PIN = 0
#define TX_PIN = 1
int x = 0;
void setup()
{
Serial.begin(9600);
//Serial1.begin(9600);
}
void loop()
{
// Serial1.write("0011.\n");
Serial.write ("001l.\n"); //use 001l. followed by a carriagre return
Serial.println(001l.
//int bytesSent = Serial.write("
delay(500);
if (Serial.available()) {
int inByte = Serial.read();
Serial.print("001l.");
Serial.print("\n");
//Serial.end(9600);

}
}

 Serial.println(001l.

?

You could simulate two stop bits with a "delay(1);" between every character sent, or you set up the two stop bits by controlling the USART directly.

Somehow it got cut off Serial.println(001l.)

Somehow it got cut off Serial.println(001l.)

Sp. " Somehow it got cut off Serial.println(001l.);"

Controlling the USART directly would take less programming space, yes?

Controlling the USART directly would take less programming space, yes?

It's unlikely.

Sorry, I'm posting from my phone, so I don't have the AVR datasheet to hand, but the USART register will only need setting once.

Any help on setting up the program?

I am wanting to send a command to a device using a serial connection. The manufacturer gave me this about the setup. The signaling is half duplex (party line) async like RS232, but with a different hardware interface. I previously sent you a schematic of the interface. Undriven, (space), the two lines are between 10 and 15V apart, and driven, (mark) they are about 2V apart. There is no "ground" reference. One advantage of this is that you can use a normal terminal or terminal emulator program to talk to the devices: 9600 Baud, 8 bits, no parity, 2 stop bits. The command is 01l. The manufacturer also states I need a carriage return at the end. I assume \r. What would be a simple program for this using an arduino uno?

Please don't cross-post the same question in different parts of the forum; it WASTES TIME.

The part of the datasheet you need to look at is section 19 "USART0", 19.10.4 UCSRnC, bit 3, USBSn = 1.

Thanks for the response. Is Arduino set up for 2 stop bits. I only see one in the software serial library. I am using Arduino 1.0

No, it is set for one stop bit.