I need help

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
407charles
Posts: 122
Joined: Thu Jun 26, 2014 12:01 pm
Has thanked: 41 times
Been thanked: 19 times
Contact:

I need help

Post by 407charles »

I need to know how to read the eprom data. I did a program for making a 16 letter recipe and stored it at eprom. I used a string variable "namearray[16]" it writes to the eprom sequentially by using a variable "ptr" to shift the address by one to store letter by letter. So the variable is namearray[ptr] it writes to the eprom because to test it I made a string longer than 16 and it gave me the error saying string size out of bound, but I have a difficulty displaying my string when needed. In my program I'm using a button to display the string after clearing the screen (and it's already written to the eprom memory. Can you please help me?

dazz
Posts: 1314
Joined: Sun Jan 15, 2012 3:15 pm
Has thanked: 474 times
Been thanked: 458 times
Contact:

Re: I need help

Post by dazz »

Hi
Please post your flowchart so others can look and see what is wrong

Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php

407charles
Posts: 122
Joined: Thu Jun 26, 2014 12:01 pm
Has thanked: 41 times
Been thanked: 19 times
Contact:

Re: I need help

Post by 407charles »

Hello Dazz Thanks a lot for your help. here is my chart, the first part is to be able to use keypad to enter letters upper and lower case to the string. Each letter is entered to the string by using the "#" key which writes the value to eprom memory address "ptr", also shift the cursor to the right one location to enter the next letter. The key "*" is used to clear the display and reset "press" to zero to display the first letter of the group of letters assign to the next key pressed. The only push button is to display the eprom memory address value stored previously. This is just a block for a bigger program for an oven control, this part should be able to name the recipe, the temperature value, also the baking time and save it in to an eprom memory to used it later to run the recipe and bake the desire product. But numbers are easy to store and retrieve from eprom, I already tried. I will use and specific address location to store this variables and I was successfully able to retrieve value by using eprom read macro as follows: temp=17 is used as an address variable to write it to eprom and then when it reads from eprom I used
"temp = Temp" and I had the desire value stored in variable Temp to uase it as needed. I will appreciate all the help provided to store and retrieve a "String" from eprom to be able to get this part right and blended with the rest of the code. Thanks a lot again.
Attachments
ASCIIoven.fcfx
(23.04 KiB) Downloaded 204 times

Post Reply