I don't know how to make it work in Proteus. Proteus has weird things
like digital and analog pull-ups. It also may not work without the i2c
debugger turned on. I don't want to solve these problems. I only
use hardware to test i2c. The following method works with two hardware
boards (or two PICs on one board):
Use the CCS example file code, Ex_Slave.c, for the Slave PIC.
It's in this directory:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum