Page 1 of 1

Enhancements of Flowcode4 Pro

Posted: Tue Jul 06, 2010 12:55 am
by billduck
I am wondering what enhancements come with the professional version of Flowcode4.
I am finding it to be a challenge to to floating point trig. How do you display a floating point (fractional) result on a LCD.
Thanks.

Re: Enhancements of Flowcode4 Pro

Posted: Tue Jul 06, 2010 9:45 am
by Benj
Hello,

To display a floating point number on the LCD you have to convert the float variable into a string. There is a function to do this available from the string manipulation icon. The Flowcode marketting datasheet details all of the key features between the different license variations.

Re: Enhancements of Flowcode4 Pro

Posted: Tue Jul 06, 2010 9:57 am
by DavidA
The marketing data sheet is located here :

http://www.matrixmultimedia.com/datashe ... C-60-4.pdf

the details you want are on page 8.

Re: Enhancements of Flowcode4 Pro

Posted: Tue Jul 06, 2010 1:33 pm
by billduck
Where is the "string manipulation icon?". I am using the student version, and I only see string, when a variable is declared.
Thanks.

Re: Enhancements of Flowcode4 Pro

Posted: Tue Jul 06, 2010 3:58 pm
by Benj
Hello,

The string manuipulation icon is directly below the calculation icon in the command toolbox.

Re: Enhancements of Flowcode4 Pro

Posted: Tue Jul 06, 2010 8:00 pm
by Sean
The V4 AVR floating-point article (Articles section of the forum) shows how the standard library sprintf function can be used in a Flowcode C block to convert numbers to strings - using a variety of formats - before printing to an LCD.