Hi,
I am trying to locate any documentation on how to write to and read from eeprom. I cannot locate anything in the help files.
How do I write to or read from and write to a specific eeprom address?
Thanks
Ron
EEPROM - Reading from & writing to (beginner)
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Hello Ron
To begin with the EEPROM component first click the EEPROM icon to include the component into your flowchart.
When you have done this you can use component macros to call the EEPROM related functions.
There are two functions.
EEPROMRead
Input the address of the byte you want to read
Outputs the data stored in that address
WriteEEPROM
Input the address of the byte that you want to write,
Input the data that you want to store in that address
To get access to the component help files. Click on the little hand symbol at the top of the component and then click properties. You will then get a help button which should open the help file at the required page.
To begin with the EEPROM component first click the EEPROM icon to include the component into your flowchart.
When you have done this you can use component macros to call the EEPROM related functions.
There are two functions.
EEPROMRead
Input the address of the byte you want to read
Outputs the data stored in that address
WriteEEPROM
Input the address of the byte that you want to write,
Input the data that you want to store in that address
To get access to the component help files. Click on the little hand symbol at the top of the component and then click properties. You will then get a help button which should open the help file at the required page.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Thanks for telling me how to use a compopnent.
Hi,
Thanks for the information, I looked at it last night.
I "clicked" the eeprom compnent icon and saw the addresses and values window. Since I am not looking at a real pic, why was there "numbers" in the data area of this window? Is this for simulation?
I closed flowcode, and later re-opened it. The EEPROM window was gone, I clicked the eeprom icon again and the program said, only 1 allowed, or something to that effect. This makes sense, but I could not see the eerpom window. How do I get the window back so I can see it?
Thanks again,
Ron
Thanks for the information, I looked at it last night.
I "clicked" the eeprom compnent icon and saw the addresses and values window. Since I am not looking at a real pic, why was there "numbers" in the data area of this window? Is this for simulation?
I closed flowcode, and later re-opened it. The EEPROM window was gone, I clicked the eeprom icon again and the program said, only 1 allowed, or something to that effect. This makes sense, but I could not see the eerpom window. How do I get the window back so I can see it?
Thanks again,
Ron