I2C master configuration of PIC18F4620

Status
Not open for further replies.
Hi,
I am using PIC18F4620 to interface with a sensor in I2C. What sort of commands are needed to initialize the I2C master and what are the commands needed for reading and writing to the sensor? I am using SWPutcI2C () and SWGetsI2C() commands but i always get the same values.
Thank you for your help
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…