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 support@ccsinfo.com

I2C bus question

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Fabri



Joined: 22 Aug 2005
Posts: 275

View user's profile Send private message

I2C bus question
PostPosted: Thu May 29, 2008 2:24 am     Reply with quote

Hi to everybody,

I have just one question about ccs I2C bus routine. I wrote by myself I2C routine for PIC18F4520 some time ago. I try the same routine with PIC18F4525 and it doesn't work, otherwise with #use i2c library the system work right. I wrote i2c routine because i use i2c bus to talk with some external device on bus 3 meters long and with ccs library the system went in reset as soon as it received any burst noise, so I introduced timeout in i2c communication routine. Now to understand problem I'm checking ccs disassembled library. I found:
Code:

BTFSC 00.0

What does it mean ?
does it test address 0 and bit 0 ?


Thanks for help about,
Regards,
Fabri
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group