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 5 matches
CCS Forum Index
Author Message
  Topic: compiler produce EXTRA?
Van

Replies: 2
Views: 13261

PostForum: General CCS C Discussion   Posted: Wed Nov 12, 2003 10:01 am   Subject: compiler produce EXTRA?
Thank you, PCM
it worked! Very Happy

Van
  Topic: compiler produce EXTRA?
Van

Replies: 2
Views: 13261

PostForum: General CCS C Discussion   Posted: Tue Nov 11, 2003 6:02 pm   Subject: compiler produce EXTRA?
Hi,

Could you please explain why CCSC produce extra lines:
.................... output_low(PIN_D0);
0166: BSF 03.5 why this line is produced?
0167: BCF 08.0 why th ...
  Topic: can not get data from i2c_read()
Van

Replies: 7
Views: 17225

PostForum: General CCS C Discussion   Posted: Thu Oct 02, 2003 4:41 pm   Subject: can not get data from i2c_read()
That is it, the problem has sovled

Thank you, PCM programmmer, for your time and knowledge

Van
  Topic: can not get data from i2c_read()
Van

Replies: 7
Views: 17225

PostForum: General CCS C Discussion   Posted: Thu Oct 02, 2003 3:44 pm   Subject: can not get data from i2c_read()
int read_ext_eeprom(long int address)
{
int data, data1;
i2c_start();
i2c_write(0xa0);
i2c_write(hi(address) );
i2c_write(address);

i2c_start();
i2c_write(0xa1);
data = i2c_read(); ...
  Topic: can not get data from i2c_read()
Van

Replies: 7
Views: 17225

PostForum: General CCS C Discussion   Posted: Thu Oct 02, 2003 3:10 pm   Subject: can not get data from i2c_read()
Hi,

After I wrote to EEPROM, I would like to read it back, but I can not. What I got back is just 0xFF, here is the code:

void init_ext_eeprom()
{
output_float(EEPROM_SCL);
output_float ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group