Page 1 of 1

EEPROM to ZERO

Posted: Wed Nov 26, 2014 5:23 pm
by electron67
Hello,

Please, You could someone tell me if I can trigger the EEPROM to ZERO in one block (0....255) :?:

Thanks
Enrique

Re: EEPROM to ZERO

Posted: Fri Nov 28, 2014 11:37 am
by Benj
Hello Enrique,

Instead of writing each address using a icon why not use a variable and a loop.

Code: Select all

index = 0

while (index < 255)

EEPROM Write (index, 0)

index = index + 1

end while

Re: EEPROM to ZERO

Posted: Sat Nov 29, 2014 1:09 am
by electron67
Hello Benj,

Thanks for the answer :idea:

Enrique