Combine them using a mathematical formula in a calculation icon: my_data = low_byte + (high_byte << 8) Handling Strings and Arrays
EEPROM is the preferred storage location for user‑defined passcodes in electronic lock systems. When a user changes the default passcode (e.g., from “1234” to a new 6‑digit code), the new code is stored in EEPROM. If power is lost, the system remembers the new passcode when power is restored. This is only possible because EEPROM is —it retains data during power cycles.
stands for Electrically Erasable Programmable Read‑Only Memory . Unlike RAM (which loses its contents when power is removed) or Flash memory (typically erased in large blocks), EEPROM allows you to modify individual bytes of data, one location at a time, and retains that data even after the microcontroller is powered off. flowcode eeprom exclusive
Use Flowcode’s built-in simulation window. Watch the EEPROM interactive map update in real-time during step-by-step execution before flashing code to your physical hardware.
This public link is valid for 7 days and shares a thread, including any personal information you added. This link or copies made by others cannot be deleted. If you share with third parties, their policies apply. Can’t copy the link right now. Try again later. Combine them using a mathematical formula in a
Let's move from theory to practice. Flowcode provides several built-in example projects that are invaluable for learning.
Reconstructed Value = (HighByte × 256) + LowByte This is only possible because EEPROM is —it
Some newer microcontrollers—particularly those in the PIC24 and dsPIC families—don’t have dedicated EEPROM hardware. For these devices, Flowcode offers a that emulates EEPROM behavior using the microcontroller’s onboard flash program memory.
// Flowcode Graphical Logic Connection: EEPROM_1 -> WriteAddress(0x05, 45) Use code with caution. 3. Advanced Handling: Multi-Byte Data Types
Flowcode extends its support to ARM-based devices (e.g., STM32, LPC) and the Raspberry Pi PICO (RP2040). For these, EEPROM availability varies. Many ARM Cortex-M microcontrollers do not have dedicated EEPROM; instead, they may emulate it in Flash (similar to Flowcode's Flash EEPROM component). When targeting these platforms, pay close attention to the property and understand whether the memory is true EEPROM or flash emulation.