CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Detecting temperature and control the fan
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
dyeatman



Joined: 06 Sep 2003
Posts: 1985
Location: Norman, OK

View user's profile Send private message

PostPosted: Tue Mar 01, 2011 6:53 am     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group