Softserial and serial

Hi everybody,

Does anyone of you know if it is possible to have Serial and SoftSerial working at the same time and with different data-streams? I want to sent sensordata from the Arduino to a LCD03 from Devantech and in another format to the computer (I use an ArduinoBT). I've got the two working separately but when trying to pair the Arduino from MAX/MSP while the code on the Arduino also uses SoftSerial gives problems. The device does not pair up. Using I2C is not an option since I want to use all the available analog PINs.

Some advice is very much appreciated.

Best, Hans.

In theory they should. However, latencies will be different so your softserial might not be working as you want it to. Remember it doesn't buffer things the same.

Thanks Sti,

Momentarily I have problems getting MAX/MSP getting a serial connection (using the Serial object) to the board if I have SoftSerial running on it, but it might be a different problem. I will experiment with the code and maybe post some if I still can't get it to work.

Best, Hans.

Also remember that the softserial doesen't have the SerialAvailable() function. So if one of your devices only send data, and do not recieve, it's probably smart to use softserial with that device.