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

PIC as I2C Slave

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



Joined: 30 Sep 2012
Posts: 7

View user's profile Send private message

PIC as I2C Slave
PostPosted: Wed Dec 19, 2012 4:24 am     Reply with quote

Hi all,

My project involves a PIC16F877A(Master), a PIC16F883(Slave) and a DS1307(slave). The master is reading the current date and time from DS1307 correctly, but I am confused as to how to write the read values into PIC16F883(slave).

Please any suggestions !!!!!!!!!!
Ttelmah



Joined: 11 Mar 2010
Posts: 19505

View user's profile Send private message

PostPosted: Wed Dec 19, 2012 10:26 am     Reply with quote

Look at EX_SLAVE.c

Has a 16byte buffer that can be read/written as an I2C slave device.

Best Wishes
vinay



Joined: 30 Sep 2012
Posts: 7

View user's profile Send private message

PostPosted: Fri Dec 21, 2012 2:48 am     Reply with quote

Ttelmah wrote:
Look at EX_SLAVE.c

Has a 16byte buffer that can be read/written as an I2C slave device.

Best Wishes


Thanks Ttelmah, will look into that.
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