Author |
Message |
Topic: I2C_STOP Problem |
Sejo
Replies: 6
Views: 8818
|
Forum: General CCS C Discussion Posted: Fri Nov 10, 2006 4:25 am Subject: It Works |
THANKS IT WORKS you are right, I forgot the NAK.
But why if I do not use "data = i2c_read(0);" and I use the "data = i2c_read();" if a send a 128 it works and if I send 127 it ... |
Topic: I2C_STOP Problem |
Sejo
Replies: 6
Views: 8818
|
Forum: General CCS C Discussion Posted: Thu Nov 09, 2006 1:27 pm Subject: I2C_STOP Problem |
Hi,
I would like to comunicate 2 PICs using I2C, I used the following code.
As you can see in the code, I try to read a number that send the slave when the master ask for the data. if the number t ... |
|