User Tools

Site Tools

한국어

logicpython:cubloc_api:eeread

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
logicpython:cubloc_api:eeread [2026/04/13 02:06] – [Exceptions] mfranklinlogicpython:cubloc_api:eeread [2026/04/14 05:14] (current) – [Return Value] mfranklin
Line 2: Line 2:
  
 Read data from non-volatile memory. Read data from non-volatile memory.
 +
 +This feature is supported only on models with built-in FRAM.
  
 ===== Syntax ===== ===== Syntax =====
Line 16: Line 18:
  
   * **address**: EEPROM ''address'' (0 to 4095).   * **address**: EEPROM ''address'' (0 to 4095).
-  * **byteLength**: Number of bytes to read. Must be positive and remain within the EEPROM bounds. +  * **byteLength**: Number of bytes to read. Must be positive and remain within the non-volatile memory'bounds. 
-  * **returnType**: Use int, float, bytes, or bytearray to control how the EEPROM bytes are decoded. The default is int.+  * **returnType**: Use ''int''''float''''bytes'', or ''bytearray'' to control how the data is decoded. The default is ''int''.
  
 ===== Return Value ===== ===== Return Value =====
  
-Returns the data decoded according to ''returnType'' as ''int'', ''float'', ''bytes'', or ''bytearray''.+Returns the data according to ''returnType'' as ''int'', ''float'', ''bytes'', or ''bytearray''.
  
 ===== Exceptions ===== ===== Exceptions =====
logicpython/cubloc_api/eeread.1776045965.txt.gz · Last modified: by mfranklin