read/write with a variable

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
psoc_3295286
Level 4
Level 4
10 sign-ins 5 sign-ins Welcome!

Hello,

We have achieved eeprom read/write operation with something like that :

EEPROM_Write(array,&eepromArray[a1],10u);

But how can we store the value of a single variable, say 'a', and read from it using eeprom.

Kindly help.

Thank you.

0 Likes
1 Solution
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

psco,

PSoC4 doesn't have an EEPROM. For PSoC5 solution please see updated demo here:

Re: myEEPROM: component to save/recall application settings in EEPROM between power offs

/odissey1

View solution in original post

0 Likes
1 Reply
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

psco,

PSoC4 doesn't have an EEPROM. For PSoC5 solution please see updated demo here:

Re: myEEPROM: component to save/recall application settings in EEPROM between power offs

/odissey1

0 Likes