User Tools

Site Tools



Peek( )

variable = Peek (address, length)

variable Variable to store result.s (No String or Single)
address RAM address
length Number of bytes to read (1 to 4)

Reads the specified length of data starting from the specified data memory address.

Const Device = CB280
Dim F1 As Single, F2 As Single
F1 = 3.14
EEWrite 10,Peek(MemAdr(F1),4),4
Poke MemAdr(F2),EERead(10,4),4
Debug Float F2,CR

Go CUBLOC home

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