Flowcode Eeprom Review

She needed long-term memory. She needed the EEPROM.

EEPROM was the chip’s stubborn, permanent scar. Write a number to it, and that number would remain, even if you unplugged the chip, threw it in a drawer for a decade, and plugged it back in. It was perfect for storing a last-watering time.

She waited ten agonizing seconds. Plugged it back in.

Elara, the systems technician, knelt in the mud, her tablet connected to the device’s brain: a humble PIC microcontroller. On her screen, the Flowcode flowchart sprawled like a map of a tiny, frantic city. flowcode eeprom

It was a stupid, perfect demonstration. The chip had a soul now. A persistent, unwritten history etched into its silicon.

At 3:16, the controller woke up, read its EEPROM, saw “3:00 AM” in address ‘0’, and went back to sleep until tomorrow.

If no (the chip was brand new, or the EEPROM was blank), she placed a block: stored_time = 720 (that’s 12:00 AM in her internal clock units). A default. She needed long-term memory

“Die,” she whispered, pulling the USB cable.

Then, a block. Is stored_time greater than 0?

The LED blinked once. Then stopped.

Next came the macro. This was triggered every time the valves actually opened. Another Component Macro – EEPROM::Write . Same address ‘0’. Source: the current system time. A little Delay of 5 milliseconds followed. She’d learned the hard way: EEPROM write cycles need a moment to breathe, like a scribe dipping a quill.

Her heart sank. Then she realized: it was supposed to do that. Because the EEPROM remembered five . The flowchart’s first action was to read address ‘0’, see the number ‘5’, and decide, “I have already blinked five times. I will not blink again until a new day.”

Inside, she placed a – EEPROM::Read . She set the address to ‘0’. This was the memory slot she’d dedicate to the watering time. The output went into a variable called stored_time . Write a number to it, and that number

She compiled the flowchart to hex code, watching Flowcode’s progress bar fill. The elegant diagram translated into raw, flashing machine language. She programmed the chip.

The basil was saved. And all because a few simple flowchart blocks knew how to write to a memory that refused to let go.