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.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…