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

need help with parallel data to rs232

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
sheing3003



Joined: 05 Jul 2006
Posts: 10

View user's profile Send private message

need help with parallel data to rs232
PostPosted: Fri Jul 21, 2006 8:56 pm     Reply with quote

I need help with sending a byte by rs232 to PC. The PIC has parallel data input, 8 bits from different pin, how do I convert this data to a byte and send it by rs232?
Thanks in advance.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat Jul 22, 2006 1:21 pm     Reply with quote

Quote:
The PIC has parallel data input, 8 bits from different pin, how do I
convert this data to a byte and send it by rs232?

Look at the input_x() and putc() functions in the CCS manual
Download the manual here:
http://www.ccsinfo.com/downloads/ccs_c_manual.pdf
sheing3003



Joined: 05 Jul 2006
Posts: 10

View user's profile Send private message

PostPosted: Sat Jul 22, 2006 4:12 pm     Reply with quote

thanks for help! It worked! really appreciated
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
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