Author |
Message |
Topic: PCM 3.124 - 16F876 not returning from function call? |
Leo
Replies: 7
Views: 12925
|
Forum: General CCS C Discussion Posted: Sat Feb 26, 2005 1:54 pm Subject: PCM 3.124 - 16F876 not returning from function call? |
PCM -
I'm almost certain it's none of the above! Certainly, I'm not using a network drive and I'm not clicking 'No' to anything.
Anyway, I went back to the verion of MPLAB thats on the CCS CD (5 ... |
Topic: Display a decimal number in LCD |
Leo
Replies: 2
Views: 6765
|
Forum: General CCS C Discussion Posted: Thu Feb 24, 2005 7:52 am Subject: Display a decimal number in LCD |
Have a look at the printf statement, e.g.
float x = 1.2345;
printf( lcd_putc, "This is a decimal number: %1.2f \n", x);
Leo
[/code] |
Topic: PCM 3.124 - 16F876 not returning from function call? |
Leo
Replies: 7
Views: 12925
|
Forum: General CCS C Discussion Posted: Thu Feb 24, 2005 7:05 am Subject: PCM 3.124 - 16F876 not returning from function call? |
Is this a compiler bug, or have I done something obviously wrong? I'd appreciate any suggestions.
Thanks
Leo |
Topic: PCM 3.124 - 16F876 not returning from function call? |
Leo
Replies: 7
Views: 12925
|
Forum: General CCS C Discussion Posted: Tue Feb 22, 2005 10:55 am Subject: PCM 3.124 - 16F876 not returning from function call? |
Hi -
Thanks for the speedy reply.
post your code.
Ok. Sorry it's so long and unreadable. It used to span several files, but i've stuck it all together in this one file to post. Still displa ... |
Topic: PCM 3.124 - 16F876 not returning from function call? |
Leo
Replies: 7
Views: 12925
|
Forum: General CCS C Discussion Posted: Tue Feb 22, 2005 6:56 am Subject: PCM 3.124 - 16F876 not returning from function call? |
Hi -
I'm having trouble with a program I'm writing for a 16F876.
I have a function that should return a float, but the program seems not to return from the fuction, but instead to 'fall through' ... |
|