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.
Flowcode V5 examples
Moderator: Benj
- 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
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.
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.
- STibor
- Posts: 263
- Joined: Fri Dec 16, 2011 3:20 pm
- Has thanked: 116 times
- Been thanked: 113 times
- Contact:
Re: Flowcode V5 examples
Hello David!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.
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
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
- STibor
- Posts: 263
- Joined: Fri Dec 16, 2011 3:20 pm
- Has thanked: 116 times
- Been thanked: 113 times
- Contact:
Re: Flowcode V5 examples
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.
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 (88.62 KiB) Viewed 6084 times