Page 1 of 1

float working on simulation, not after compiling

Posted: Wed Dec 29, 2010 12:18 pm
by wtulp
Hello,

I have the following problem:
- i calculate a float from a byte
- then the byte and the float displayed on the LCD
so far, so good.

In the simulation-mode it all works fine.
When compiled to the PIC16F877a the byte is displayed fine but the float doesnt (LCD shows 0.000000)

Can someone tell me what i'm doing wrong?
(See my file as example)


Greetings,
Willem Tulp
LCD_float.fcf
float
(6.5 KiB) Downloaded 239 times

Re: float working on simulation, not after compiling

Posted: Wed Dec 29, 2010 1:56 pm
by medelec35
Hiya wtulp,
Take a look here:
http://www.matrixmultimedia.com/mmforum ... =26&t=6936
There is some information on floats that should be relevant to you.