PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Tue Oct 10, 2006 11:45 pm |
|
|
I suggest that you start with the CCS example, Ex_Slave.c.
Here's the file location:
c:\program files\picc\examples\ex_slave.c
Here's some simple master code in this post, which sends a single
character to a PIC running Ex_Slave.c, and then reads it back.
http://www.ccsinfo.com/forum/viewtopic.php?t=28097&start=9
Remember that you need pullup resistors (4.7K will work) on SDA
and SCL, and you need a ground connection between the two boards. |
|