HeapW address, data
address | Heap memory address |
data | Constant or variable with data (Byte only) |
Write 1 byte of data to the specified heap address. This command supports only CB405 and CB405RT modules.
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 ' Write 1 byte to Heap memory. HeapW 56831,123 Debug Dec Heap(56830),Cr Debug Dec Heap(56831),Cr J = HRead(0,4) Debug Hex J,Cr Delay 100 Loop