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

I2C to RS232 converter

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



Joined: 23 Mar 2006
Posts: 3

View user's profile Send private message

I2C to RS232 converter
PostPosted: Thu Mar 23, 2006 1:53 pm     Reply with quote

Hello , i want to do I2C to RS232 converter with a 16F876
I want to send some byte with hyperterminal and send it in the I2C master of the PIC.
Can you help me please ?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Mar 24, 2006 12:15 am     Reply with quote

Look in the CCS manual and in the example files for examples of
how to use the library code for RS232 and I2C. Look for these things:
Quote:

#use rs232

#use i2c

Also, many PICs such as the 16F88, 16F877, 16F452, etc., have hardware
modules for rs232 and i2c. You should look in the data sheet for your
PIC and preferably setup the CCS library code to use the PIC pins
that are dedicated to the hardware modules.

Look for CCS example files in this folder on your PC:
c:\Program Files\Picc\Examples

Download the CCS compiler manual here:
http://www.ccsinfo.com/downloads.php
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