CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 2 matches
CCS Forum Index
Author Message
  Topic: I2C_STOP Problem
Sejo

Replies: 6
Views: 8818

PostForum: 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

PostForum: 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 ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group