Hi Al,
my mistake, it works now.
I made a mistake in calculating the address from four bits of a port :-(
This works:
main_loop:
...
i2caddress = (addr0 * 16) + (addr1 * 8) + (addr2 * 4) + (addr3 * 2)
SSP1ADD = I2Caddress
...
goto main_loop
...in the moment i try to implement the slave routine into a 18LF14K22...
It does not work in the moment, it is the same like on a18F6722, there it
works great.
Regards,
Ralf
Bookmarks