Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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.

New Articles From Microcontroller Tips

Back
Top