INTERNAL EEPROM
Moderator: Benj
-
- Posts: 150
- Joined: Mon Oct 15, 2012 5:19 pm
- Has thanked: 12 times
- Been thanked: 18 times
INTERNAL EEPROM
hello to everyone I would like to use the internal Eeprom of the chip with flowcode 6, I write very well at address 0 with the value 10, but when I restart the Chip I always read it starting at 0. Can someone please help me ?? I remember having already done a project with Flowcode 5 using the internal memory and it worked very well.
- Attachments
-
- EEPROM.fcfx
- (9.53 KiB) Downloaded 325 times
- 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:
Re: INTERNAL EEPROM
Hello,
The EEPROM component initialiser property sets the initial value of address 0 to 0. Your EEVal count value is also initialised to 0.
Hope this helps.
The EEPROM component initialiser property sets the initial value of address 0 to 0. Your EEVal count value is also initialised to 0.
Hope this helps.
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
- AbhijitR
- Posts: 300
- Joined: Fri Nov 07, 2014 12:48 pm
- Location: Pune, India
- Has thanked: 283 times
- Been thanked: 80 times
Re: INTERNAL EEPROM
Hello!
In my opinion you should delete the existing data (0,1,0x2,0x03,'A','b',"Hello") from the EEPROM-->Properties-->Initial Values.
And I notice you read "dado" and also display the same on the screen on second line, I think if you want to see the last value saved in the EEPROM then instead of "dado" you should call "EEVal" and show the same.
I hope I understood your point.
Abhi
In my opinion you should delete the existing data (0,1,0x2,0x03,'A','b',"Hello") from the EEPROM-->Properties-->Initial Values.
And I notice you read "dado" and also display the same on the screen on second line, I think if you want to see the last value saved in the EEPROM then instead of "dado" you should call "EEVal" and show the same.
I hope I understood your point.
Abhi
-
- Posts: 150
- Joined: Mon Oct 15, 2012 5:19 pm
- Has thanked: 12 times
- Been thanked: 18 times