User Tools

Site Tools

한국어

logicpython:cubloc_api:heapw

This is an old revision of the document!


HeapW

Write one byte into the simulated 55 KiB SRAM heap.

Syntax

from cubloc import HeapW
 
HeapW(address: int, data: int)

Parameters

  • address: Heap address (0 to 56319).
  • data: Byte value to store (0 to 255).

Exceptions

Example

from cubloc import HeapW
 
# Example usage
HeapW(1, 1)
logicpython/cubloc_api/heapw.1775786798.txt.gz · Last modified: by 127.0.0.1