Hi,
I've got a very strange behaviour.
I write data to the internal eeprom with statement such as:
Code:
write healed_,healed
READ healed_,tempvar
IF (tempvar != healed) then
SOUND speaker,[100,200]
LCDOUT $fe,1,"writeRoR"
PAUSE 2000
ENDIF
and get no message, which means the write could be verified.
Then, when I turn off the circuit and turn on again, I display the values in the EEPROM and they are those I set at the time I flashed the PIC:
Code:
DATA @10,0,0 'first hit
DATA @12,0,0
DATA @14,0,0
DATA @16,0,0
DATA @18,0,0
DATA @20,0,0
It happens as if the EEPROM does not keep the data I WRITE.
Would anyone have an idea why??
Bookmarks