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

User avatar
STibor
Posts: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 115 times
Been thanked: 112 times
Contact:

Flowcode V5 examples

Postby STibor » Sun Feb 26, 2012 5:57 pm

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: 1064
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 276 times
Contact:

Re: Flowcode V5 examples

Postby DavidA » Mon Feb 27, 2012 10:58 am

Hello,

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

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

Re: Flowcode V5 examples

Postby DavidA » Mon Feb 27, 2012 4:28 pm

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: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 115 times
Been thanked: 112 times
Contact:

Re: Flowcode V5 examples

Postby STibor » Mon Feb 27, 2012 5:57 pm

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 175 times
These users thanked the author STibor for the post:
medelec35 (Mon Feb 27, 2012 10:02 pm)
Rating: 5%
 

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8817
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2559 times
Been thanked: 3715 times
Contact:

Re: Flowcode V5 examples

Postby medelec35 » Mon Feb 27, 2012 10:01 pm

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

Martin
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

User avatar
STibor
Posts: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 115 times
Been thanked: 112 times
Contact:

Re: Flowcode V5 examples

Postby STibor » Tue Feb 28, 2012 6:25 pm

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 191 times
test.jpg
test.jpg (88.62 KiB) Viewed 3733 times
These users thanked the author STibor for the post:
medelec35 (Tue Sep 16, 2014 7:23 pm)
Rating: 5%