float working on simulation, not after compiling

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
wtulp
Flowcode V4 User
Posts: 10
Joined: Mon Jan 11, 2010 12:59 pm
Contact:

float working on simulation, not after compiling

Post 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 231 times

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times

Re: float working on simulation, not after compiling

Post 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.
Martin

Post Reply