thijse / Arduino-EEPROMEx

Extended EEPROM library for Arduino
Other
170 stars 54 forks source link

Need a function to clear EEPROM Memory #25

Open khawajamechatronics opened 5 years ago

khawajamechatronics commented 5 years ago

Hi

I was thinking to clear memory using Update Function (Avoiding write cycle count in case same value).

Default value of EEPROM is 0xFF.

Only need to clear the range set by this function EEPROM.setMemPool(memBase, EEPROMSizeUno);

or have some function to set a specific value on all use able memory selected by above function

Since I am new user of this library , I was doubtful that I would be able to make any better clear function that could do the job without violating library standards.

Purpose is to only read a set of variables when data is written for that set of variables.

I can clarify if objective is not understood.

Can be done?