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

compiler version for pic 18F452

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



Joined: 19 Jul 2007
Posts: 6
Location: New -Brunswick

View user's profile Send private message Send e-mail MSN Messenger

compiler version for pic 18F452
PostPosted: Wed Jul 25, 2007 8:26 am     Reply with quote

Is there a version of compiler which would be better to use for a pic 18F4431 or PIC 18F452. if I want to communicate through I2C with them!
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Jul 25, 2007 1:50 pm     Reply with quote

So far, you've got five different threads going on exactly the same topic.
One thread would be enough. Just add new questions to the same
thread. It will automatically be "bumped" to the top of the front page
on the forum. All forums work that way. You don't have to start a
new thread to get people's attention.


Now, to answer your questions:

Use either vs. 3.249 or use the latest of version 4.xxx, which currently
is 4.046.

I suggest that you use Ex_Slave.c for the slave, and use the master
code that I linked to in one your previous threads.
http://www.ccsinfo.com/forum/viewtopic.php?t=31460

Make sure you have a 4.7K pull-up resistor on both the SDA and SCL
lines. Make sure you have a ground connection between the two boards.
For the Slave, you must use the hardware i2c pins. It's essential.
The master can use software or hardware pins.

It you have questions or problems, ask them on this thread.
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