dyeatman
Joined: 06 Sep 2003 Posts: 1985 Location: Norman, OK
|
|
Posted: Tue Mar 01, 2011 6:53 am |
|
|
1. Pin numbers in each RS232 statement must be TOTALLY different.
2. Do not reuse PIN_B1 in both statements.
3. Do not have recv and xmit on the same pins.
4. TWO XMIT parameters in ONE RS232 statement are not allowed.
5. Two communications channels must be completely separate using
streams unless you plan to multiplex them on one channel or use
RS485 (please do some research, this is not an electronics forum)
With two different streams defined you can use the fgetc and fprintf
functions to control which stream you are working on. Look up these two
in the CCS manual for more info.
Search the manual for other occurrences of the word stream (page 75 for example).
Next, search the forum for the word stream to see lots of examples. _________________ Google and Forum Search are some of your best tools |
|