View previous topic :: View next topic |
Author |
Message |
Guest
|
I2C device address of PIC 16F819 |
Posted: Mon May 17, 2004 6:19 am |
|
|
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
|
|
Posted: Mon May 17, 2004 6:22 am |
|
|
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
|
I2C Slave Address |
Posted: Mon May 17, 2004 10:14 am |
|
|
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 |
|
|
|