Author |
Message |
Topic: getc array send only one character |
yesahycs
Replies: 4
Views: 7327
|
Forum: 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
|
Forum: 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
|
Forum: 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
|
Forum: 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
|
Forum: 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 ... |
|