User Tools

Site Tools

한국어

logicpython:cubloc_api:heap

Differences

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

Link to this comparison view

logicpython:cubloc_api:heap [2026/04/10 02:06] – created - external edit 127.0.0.1logicpython:cubloc_api:heap [2026/04/10 02:36] (current) – removed mfranklin
Line 1: Line 1:
-====== Heap ====== 
- 
-Read one byte from the simulated 55 KiB SRAM heap. 
- 
-===== Syntax ===== 
- 
-<code python> 
-from cubloc import Heap 
- 
-Heap(address: int) 
-</code> 
- 
-===== Parameters ===== 
- 
-  * **address**: ''Heap address'' (0 to 56319). 
- 
-===== Return Value ===== 
- 
-Returns the byte value stored at the requested heap ''address''. 
- 
-===== Exceptions ===== 
- 
-  * [[https://docs.micropython.org/en/latest/library/builtins.html#TypeError|TypeError]]: ''address'' is not an integer. 
-  * [[https://docs.micropython.org/en/latest/library/builtins.html#ValueError|ValueError]]: ''address'' is out of range. 
- 
-===== Example ===== 
- 
-<code python> 
-from cubloc import Heap 
- 
-# Example usage 
-result = Heap(1) 
-print(result) 
-</code> 
- 
-===== Related APIs ===== 
- 
-  * [[logicpython:cubloc_api:eeread|EERead]] 
-  * [[logicpython:cubloc_api:eewrite|EEWrite]] 
-  * [[logicpython:cubloc_api:heapclear|HeapClear]] 
-  * [[logicpython:cubloc_api:heapw|HeapW]] 
-  * [[logicpython:cubloc_api:hread|HRead]] 
  
logicpython/cubloc_api/heap.1775786798.txt.gz · Last modified: by 127.0.0.1