Hi
if I write to the Eeprom: “writedm 0 ,[1,2,3,4,5 ]” and read it
“ readdm 0,[str Saved\5] “ it reads correct.
but if I program the nano again without using the writedm command,
and then read the EEprom, I get: “ 15,15,15,15,15 ”
Should not the Eeprom keep the “1,2,3,4,5”..?
But the main Problem is:
If I switch on and off the Power, sometime the Eeprom keeps the content, but sometimes it gets changed…
Is it my programming mistake, misunderstanding, or is there something wrong..?
Heinz
Code:
NumberSave var nib(5)
x var nib
'writedm 0 ,[1,2,3,4,5]
start:
readdm 0,[str NumberSave\5]
for x = 0 to 4
serout s_out,i9600,["Number save = ",dec NumberSave(x)]
next
serout s_out,i9600,[13]
goto start