Read data from non-volatile memory.
This feature is supported only on models with built-in FRAM.
from cubloc import EERead EERead(address: int, byteLength: int, returnType: type[int] | type[float] | type[bytes] | type[bytearray] = int)
address (0 to 4095).int, float, bytes, or bytearray to control how the data is decoded. The default is int.
Returns the data according to returnType as int, float, bytes, or bytearray.
address or byteLength is out of range, the read would extend past address 4095, or a float read was requested with a byteLength other than 4.from cubloc import EERead # Example usage result = EERead(1, 1, int) print(result)