This shows you the differences between two versions of the page.
| logicpython:cubloc_api:heapw [2026/04/10 02:06] – created - external edit 127.0.0.1 | logicpython:cubloc_api:heapw [2026/04/10 02:37] (current) – removed mfranklin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== HeapW ====== | ||
| - | |||
| - | Write one byte into the simulated 55 KiB SRAM heap. | ||
| - | |||
| - | ===== Syntax ===== | ||
| - | |||
| - | <code python> | ||
| - | from cubloc import HeapW | ||
| - | |||
| - | HeapW(address: | ||
| - | </ | ||
| - | |||
| - | ===== Parameters ===== | ||
| - | |||
| - | * **address**: | ||
| - | * **data**: Byte value to store (0 to 255). | ||
| - | |||
| - | ===== Exceptions ===== | ||
| - | |||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | |||
| - | ===== Example ===== | ||
| - | |||
| - | <code python> | ||
| - | from cubloc import HeapW | ||
| - | |||
| - | # Example usage | ||
| - | HeapW(1, 1) | ||
| - | </ | ||
| - | |||
| - | ===== Related APIs ===== | ||
| - | |||
| - | * [[logicpython: | ||
| - | * [[logicpython: | ||
| - | * [[logicpython: | ||
| - | * [[logicpython: | ||
| - | * [[logicpython: | ||