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: getc array send only one character
yesahycs

Replies: 4
Views: 7327

PostForum: General CCS C Discussion   Posted: Wed Dec 05, 2007 3:47 am   Subject: dun use putc
try printf instead of putc.
ex:

int i;

for(i=0; i<=4; i++)


printf("%d",c[i]);
  Topic: I2C slave transmitting data
yesahycs

Replies: 47
Views: 95826

PostForum: General CCS C Discussion   Posted: Wed Dec 05, 2007 12:35 am   Subject: I2C slave transmitting data
I'm interested in this topic,
robotam can u post your code that work and share on what you had changed to make it work?
  Topic: ROM size Not Enough, a lot of NESTED IF/ELSE + SWITCH()
yesahycs

Replies: 7
Views: 7186

PostForum: General CCS C Discussion   Posted: Wed Nov 21, 2007 11:30 pm   Subject: ROM size Not Enough, a lot of NESTED IF/ELSE + SWITCH()
Hmm, i did not tried the code yet.
After browsing it through, it MAY verify the input.
However, after verifying the input, i need to send the input as SLAVE thru I2c to the master.
According to SE ...
  Topic: ROM size Not Enough, a lot of NESTED IF/ELSE + SWITCH()
yesahycs

Replies: 7
Views: 7186

PostForum: General CCS C Discussion   Posted: Wed Nov 21, 2007 2:05 am   Subject: more details


ROM used: 1772 (43%)
1772 (43%) including unused fragments

1 Average locations per line
2 Average locations per statement

RAM used: 7 ...
  Topic: ROM size Not Enough, a lot of NESTED IF/ELSE + SWITCH()
yesahycs

Replies: 7
Views: 7186

PostForum: General CCS C Discussion   Posted: Wed Nov 21, 2007 12:39 am   Subject: ROM size Not Enough, a lot of NESTED IF/ELSE + SWITCH()
Version: CCS PCM C COMPILER, version 4.033, 33187

PIC: 16F690

Background:
Wanted to build a program which can verify various instructions input through RS232. IF verification is correct, 16F ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group