Flowcode V5 examples

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Flowcode V5 examples

Post by STibor »

Hi!
Here is the new Flowcode5, but the example programs are the old ones, so I thought I open a new Topics V5 Flowcode example programs.
First question: How can EEpromba save the "Ulong" or "Long" variable ?
Thank you for your answers.

User avatar
DavidA
Matrix Staff
Posts: 1076
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 258 times
Contact:

Re: Flowcode V5 examples

Post by DavidA »

Hello,

We should hopefully have some v5 specific examples coming out soon!

User avatar
DavidA
Matrix Staff
Posts: 1076
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 258 times
Contact:

Re: Flowcode V5 examples

Post by DavidA »

Hello,

The Flowcode v5 Examples are now up in the example section of our website. http://www.matrixmultimedia.com/lc_index.php?p=18

If you want to store a long integer in the EEPROM one method would be to break that integer down into bytes and store each individual byte then programatically reform them when you require the long variable.

User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: Flowcode V5 examples

Post by STibor »

DavidA wrote:Hello,

The Flowcode v5 Examples are now up in the example section of our website. http://www.matrixmultimedia.com/lc_index.php?p=18

If you want to store a long integer in the EEPROM one method would be to break that integer down into bytes and store each individual byte then programatically reform them when you require the long variable.
Hello David!
Thank you for your answers this very question. How to split a large number of bytes? Added to my experiment.
Attachments
2. Storing and retrieving 3byte long variables.fcf
(10.5 KiB) Downloaded 328 times

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

Re: Flowcode V5 examples

Post by medelec35 »

Hi Simpi,
Very clever.
I may need to use this in the future :wink:

Martin
Martin

User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: Flowcode V5 examples

Post by STibor »

Hi!
Thank you!
Here are the 4-byte program.
Tested with Pic18F252.
Data_Out3 Data_Out4 and variable type integer, byte variable error is the result.
Attachments
Storing and retrieving 4byte long variables V1_1.fcf
(11.5 KiB) Downloaded 347 times
test.jpg
test.jpg (88.62 KiB) Viewed 6083 times

Post Reply