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: How does the #use i2c change the pin used for SDA SCL?
tully

Replies: 4
Views: 7856

PostForum: General CCS C Discussion   Posted: Thu Jun 16, 2005 12:24 pm   Subject: How does the #use i2c change the pin used for SDA SCL?
Ok. So the CCS uses a library function code to emulate the I2C slave in software and this can't be as efficient as the hardware version.

My application runs unattended as a slave with occasional pr ...
  Topic: How does the #use i2c change the pin used for SDA SCL?
tully

Replies: 4
Views: 7856

PostForum: General CCS C Discussion   Posted: Wed Jun 15, 2005 9:43 am   Subject: How does the #use i2c change the pin used for SDA SCL?
I don't understand how the #use command changes the pin mappings associated with SDA and SCL as in below:

#use i2c(Slave,Slow,sda=PIN_A1,scl=PIN_A2,force_hw,address=0xa0)

I'm using a 16 ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group