This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| logicpython:cubloc_api:eeread [2026/04/13 02:03] – mfranklin | logicpython:cubloc_api:eeread [2026/05/15 05:27] (current) – removed mfranklin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== EERead ====== | ||
| - | |||
| - | Read data from non-volatile memory | ||
| - | |||
| - | ===== Syntax ===== | ||
| - | |||
| - | <code python> | ||
| - | from cubloc import EERead | ||
| - | |||
| - | EERead(address: | ||
| - | byteLength: int, | ||
| - | returnType: type[int] | type[float] | type[bytes] | type[bytearray] = int) | ||
| - | </ | ||
| - | |||
| - | ===== Parameters ===== | ||
| - | |||
| - | * **address**: | ||
| - | * **byteLength**: | ||
| - | * **returnType**: | ||
| - | |||
| - | ===== Return Value ===== | ||
| - | |||
| - | Returns the EEPROM data decoded according to '' | ||
| - | |||
| - | ===== Exceptions ===== | ||
| - | |||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | |||
| - | ===== Example ===== | ||
| - | |||
| - | <code python> | ||
| - | from cubloc import EERead | ||
| - | |||
| - | # Example usage | ||
| - | result = EERead(1, 1, int) | ||
| - | print(result) | ||
| - | </ | ||
| - | |||
| - | ===== Related APIs ===== | ||
| - | |||
| - | * [[logicpython: | ||