// Read the 10‑bit ADC value (0‑1023) adcValue = ADC1::ReadAsInt()
This comprehensive guide explores exclusive techniques to optimize EEPROM usage within Flowcode. You will learn how to maximize read/write efficiency, preserve hardware lifespans, and implement robust data-logging strategies. 1. Understanding Flowcode EEPROM Architecture
Retrieve stored configuration values from a specific address. Write a byte: Update calibration settings instantly. flowcode eeprom exclusive
The distinction between Read / Write and ReadByte / WriteByte is critical. In Flowcode 8, Read and Write were strictly byte‑oriented. In Flowcode 10, they can read or write either 8 or 16 bits depending on the data type passed to them. To maintain exclusive 8‑bit behaviour, use the *Byte variants.
Open the View menu during simulation and enable the Data Watch window. Add your EEPROM component to this list to watch hex values change dynamically as your flowchart executes. // Read the 10‑bit ADC value (0‑1023) adcValue
Calculate the next physical address slot in the circle: Next_Address = Current_Address + Entry_Size .
When working with external EEPROM that has more than 256 bytes of storage, address management becomes critical. Some external EEPROM chips require addresses above 255 (0xFF). For I2C communication, note that older microcontroller devices may lock up if there isn’t a between an I2C stop event and the next I2C start event. Most modern microcontrollers don’t have this issue, but it’s worth checking your device datasheet. In Flowcode 8, Read and Write were strictly byte‑oriented
: Open your Flowcode project and drag the EEPROM component from the storage menu into your 3D panel.
“¿Existe alguna forma de poder acceder de forma cíclica a esas posiciones de memoria?”