This shows you the differences between two versions of the page.
| logicpython:cubloc_api:heap [2026/04/10 02:06] – created - external edit 127.0.0.1 | logicpython: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: | ||
| - | </ | ||
| - | |||
| - | ===== Parameters ===== | ||
| - | |||
| - | * **address**: | ||
| - | |||
| - | ===== Return Value ===== | ||
| - | |||
| - | Returns the byte value stored at the requested heap '' | ||
| - | |||
| - | ===== Exceptions ===== | ||
| - | |||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | |||
| - | ===== Example ===== | ||
| - | |||
| - | <code python> | ||
| - | from cubloc import Heap | ||
| - | |||
| - | # Example usage | ||
| - | result = Heap(1) | ||
| - | print(result) | ||
| - | </ | ||
| - | |||
| - | ===== Related APIs ===== | ||
| - | |||
| - | * [[logicpython: | ||
| - | * [[logicpython: | ||
| - | * [[logicpython: | ||
| - | * [[logicpython: | ||
| - | * [[logicpython: | ||