Serial communication code from LPC2106 to SSC-32

I am using a LPC2106 chip to control the Lynx 5 arm. Does anyone has the C code for the serial communication between?
Thanks a lot.

Well, I don’t know C very well, nor have I used the mentioned chip.

But I have written a VBE serial communication code for the SSC-32 (I’m assuming you’re using an SSC-32).

Here’s the overall method for doing it:

(1) Create a serial port.
(2) Set the settings of the serial port to 115200 baud, 8-bit, no parity, no flow control, and 1 stop bit.
(3) Open the serial port.
(4) Write the string of SSC-32 instructions to the serial stream (ex: “#3 P1200 T1000” & (carriage return and line feed).
(5) Close the port.