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 protocol

Status
Not open for further replies.

TucsonDon

Member
I am using MPLab X with XC8 to write programs for a PIC18F46K22 & PIC18F45K22 to communicate via i2c with the PIC18F46K22 the master. When I send a write command from the master do I need to use the physical (Hex) memory address or will the compiler convert from the alias? Do I need to build the slave first and then define the address in a header for the master?
 
Last edited:
afaik there is only the device address that is required ... the only thing i can think that would need to be pulled from memory(in host) is the device address or maybe the data you are sending
 
Status
Not open for further replies.

New Articles From Microcontroller Tips

Back
Top