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

Emulate i2c

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



Joined: 21 Apr 2009
Posts: 2

View user's profile Send private message

Emulate i2c
PostPosted: Tue Apr 21, 2009 6:16 am     Reply with quote

Hi , I'm working with pic12f683 that doesn't have I2c hardware. Are there any library that emulate i2c? I need it because I want to comunicate with a I2c eeprom.

Thank you at all Very Happy

Regards

David
Ttelmah
Guest







PostPosted: Tue Apr 21, 2009 7:16 am     Reply with quote

The existing CCS I2C code, will automatically generate an 'emulation', if the hardware doesn't exist on the chip, or the pins you select. But _only_ for a master device.
So long as you don't need a slave (_very_ hard to do in software), just use the standard I2C functions.

Best Wishes
DoppiaD



Joined: 21 Apr 2009
Posts: 2

View user's profile Send private message

PostPosted: Tue Apr 21, 2009 9:40 am     Reply with quote

Thank you for the answer Very Happy
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