User Tools

Site Tools

한국어

cubloc:heap:index

Heap( )

variable = Heap (address)

variable Variable to store results
address Heap address

This function supports only CB405 and CB405RT modules. Returns 1 byte of data from the specified heap address.

Const Device = CB405
Dim A As Byte
Dim i As Long,J As Long
i = &HABCD1234
HeapClear
HWrite 0,i,4
Do
  HeapW 56830,100
  HeapW 56831,123
  Debug Dec Heap(56830),Cr    ' Read 1 byte from Heap memory
  Debug Dec Heap(56831),Cr
  J = HRead(0,4)
  Debug Hex J,Cr
  Delay 100
loop

Go CUBLOC home

cubloc/heap/index.txt · Last modified: 2016/04/14 11:07 (external edit)