Component: EEPROM (Storage)

From Flowcode Help
Revision as of 15:45, 3 December 2013 by Admin (talk | contribs) (→‎Examples)
Jump to navigationJump to search


Author Matrix Ltd
Version 1.1
Category Storage


Image EEPROM component

An EEPROM front end for writing data to persistant storage


Examples

Reads a value from location 0 in the EEPROM and writes back the value incremented by one, the values are displayed on to a LCD.

Starting and stopping the simulation or resetting the microcontroller will allow the program to resume counting from where it left off.

File:EEPROM.fcfx

Downloadable macro reference

Read

Reads a packet of bits from the EEPROM

The number of bits read is 8 or 16, depending on the platform

Parameters

UINT Address
The address, in elements, to read the data from


Return value

UINT


Write

Writes a packet of bits from the EEPROM

The number of bits written is 8 or 16, depending on the platform

Parameters

UINT Address
The address, in elements, to read the data from
UINT Value
The 8 or 16 bit value to store in EEPROM


Return value

This call does not return a value


Simulation macro reference

This component does not contain any simulation macros


Property reference

This component does not contain any properties