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 support@ccsinfo.com

I2C device address of PIC 16F819

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








I2C device address of PIC 16F819
PostPosted: Mon May 17, 2004 6:19 am     Reply with quote

I am planing to use the PIC 16F819 in Slave mode to respond to the commands received from a master CPU for various needs

Could anybody pl tell me what is the device address of the PIC 16F 819?
I could not figure it out from the datasheet?

Thanks in advance & Best Regards,
Daniel
Haplo



Joined: 06 Sep 2003
Posts: 659
Location: Sydney, Australia

View user's profile Send private message

PostPosted: Mon May 17, 2004 6:22 am     Reply with quote

You have to specify the address yourself. You can choose any numbers as long they don't conflict with anything else on the I2C bus (since some I2C devices have their own 'pre-assigned' addresses).
lucky



Joined: 12 Sep 2003
Posts: 46
Location: South Coast - England

View user's profile Send private message Visit poster's website

I2C Slave Address
PostPosted: Mon May 17, 2004 10:14 am     Reply with quote

For example:

#USE I2C(slave,address=0xa0,sda=PIN_C4,scl=PIN_C3,FORCE_HW)
_________________
Lucky
www.mpic3.com - MPIC3 player project, Forum, Downloads, Online Shop
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