Mellanie Thanks
Then ?
M1 VAR BYTE
DATA @ 0,0
.
.
READ 0, M1
.
.
WRITE 0, M1
M2 VAR BYTE
DATA @ 1,0
.
.
READ 1,M2
.
.
WRITE 1,M2
M3 VAR BYTE
DATA @ 2,0
.
.
READ 2,M3
.
.
WRITE 2.M3
M4 VAR BYTE
DATA @ 3.M4
.
.
.
READ 3,M4
.
.
.
WRITE 3,M4
Thanks
Mellanie Thanks
Then ?
M1 VAR BYTE
DATA @ 0,0
.
.
READ 0, M1
.
.
WRITE 0, M1
M2 VAR BYTE
DATA @ 1,0
.
.
READ 1,M2
.
.
WRITE 1,M2
M3 VAR BYTE
DATA @ 2,0
.
.
READ 2,M3
.
.
WRITE 2.M3
M4 VAR BYTE
DATA @ 3.M4
.
.
.
READ 3,M4
.
.
.
WRITE 3,M4
Thanks
Last edited by Leonardo; - 4th October 2005 at 22:18.
Leonardo -
Use the Data command to write your value to EEProm when the chip is initially programmed (use for a static value or to preload the EEprom).... OR.... you can use the Read & Write commands to read or write data during program execution "Runtime" (like if the variable changes). Look at Section 5.11 for the Data command, 5.64 for the Read command, and 5.86 for the Write command.
Bookmarks