EEPROM to ZERO

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
electron67
Posts: 311
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 104 times
Been thanked: 47 times
Contact:

EEPROM to ZERO

Post by electron67 »

Hello,

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

Thanks
Enrique
Attachments
EEPROMtoCERO.fcf
Flowchart
(8 KiB) Downloaded 287 times

User avatar
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: EEPROM to ZERO

Post 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

electron67
Posts: 311
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 104 times
Been thanked: 47 times
Contact:

Re: EEPROM to ZERO

Post by electron67 »

Hello Benj,

Thanks for the answer :idea:

Enrique

Post Reply