Author |
Message |
Topic: not enough RAM? |
sheing3003
Replies: 1
Views: 7961
|
Forum: General CCS C Discussion Posted: Thu Aug 17, 2006 4:19 pm Subject: not enough RAM? |
Hi, I'm using PIC16F877A and when i do something like
char something[100] then it'll show error, not enough RAM, hmmm any suggestion on what else I can try? Because I'm trying to store data that's 10 ... |
Topic: problem with putc() |
sheing3003
Replies: 5
Views: 5986
|
Forum: General CCS C Discussion Posted: Wed Jul 26, 2006 5:35 pm Subject: problem with putc() |
As a suggestion, are you using the 'MScomm' active-X control to retrieve the data at the PC?. If so, 'null discard', needs to be set to false, or 0 characters will not be returned...
Best Wishes
... |
Topic: problem with putc() |
sheing3003
Replies: 5
Views: 5986
|
Forum: General CCS C Discussion Posted: Tue Jul 25, 2006 12:17 pm Subject: problem with putc() |
the connection is by serial port, rs232...
i don't know why it's behaving like that, it should work, but it's not...
the strangest thing is that when I replace 0 with 1, (there's 255 color bits so r ... |
Topic: problem with putc() |
sheing3003
Replies: 5
Views: 5986
|
Forum: General CCS C Discussion Posted: Sat Jul 22, 2006 9:00 pm Subject: problem with putc() |
i need help with putc(), it's a strange problem,
i declare int8 dummy, dummy1;
dummy=1;
dummy1=255;
printf("start");
for(i=0;i<12928;i++)
if( ... |
Topic: need help with parallel data to rs232 |
sheing3003
Replies: 2
Views: 4250
|
Forum: General CCS C Discussion Posted: Sat Jul 22, 2006 4:12 pm Subject: need help with parallel data to rs232 |
thanks for help! It worked! really appreciated |
Topic: need help with parallel data to rs232 |
sheing3003
Replies: 2
Views: 4250
|
Forum: General CCS C Discussion Posted: Fri Jul 21, 2006 8:56 pm Subject: need help with parallel data to rs232 |
I need help with sending a byte by rs232 to PC. The PIC has parallel data input, 8 bits from different pin, how do I convert this data to a byte and send it by rs232?
Thanks in advance. |
Topic: This function returns a digit! |
sheing3003
Replies: 9
Views: 10779
|
Forum: General CCS C Discussion Posted: Fri Jul 21, 2006 7:30 pm Subject: This function returns a digit! |
something's wrong with it...
i get
The digit is: 1The digit is: 1The digit is: 1The digit is: 1
...suppose to be 5.... |
Topic: newbie need help with if statement |
sheing3003
Replies: 2
Views: 5639
|
Forum: General CCS C Discussion Posted: Wed Jul 05, 2006 5:03 pm Subject: newbie need help with if statement |
Please read these tutorials on the if-else statement in the C language.
http://cslibrary.stanford.edu/101/EssentialC.pdf
(see page 11)
http://www.its.strath.ac.uk/courses/c/subsection3_8_1.html ... |
Topic: newbie need help with if statement |
sheing3003
Replies: 2
Views: 5639
|
Forum: General CCS C Discussion Posted: Wed Jul 05, 2006 4:41 pm Subject: newbie need help with if statement |
ok i want to do something like this, but obviously this does not work like c, so if someone can help me out and give me a good example that'll be great
this is what i wanted to do, but the #if only ... |
Topic: Fuses? Explain for a beginner. |
sheing3003
Replies: 6
Views: 40597
|
Forum: General CCS C Discussion Posted: Wed Jul 05, 2006 2:26 pm Subject: Fuses? Explain for a beginner. |
thanks alot humber, really appreciate this! Took me forever to figure out what those abbreviation means.
However, it never explained PUT what does PUT mean? |
|