Hi
Using the “writedm” command, I get strange results by
using the second linen of my code.
If I don’t use the second line,
the terminal window shows the expected result:
..............................................
ABCDEFGHIJKLMNOPQRSTUVWXYZ
test2.
.................................................
But including the second line, without changing the read-loop
the terminal window shows :
...............................................
ghijklmnopqrstuvwxyzUVWXYZ
test2
................................................
It looks like it is reading some old Values…?
But no more starting at the Address = “0”
or overwrite the first Adresses...?
I can’t see what is wrong…..?
Need some tip please
In the Atom 40 the “Data” command was working fine.
I like to transfer my Atom40 Program to the Atom Pro 40,
but stuck on the Eeprom problem.
Heinz Germany
Code:
writedm 0, ["ABCDEFGHIJKLMNOPQRSTUVWXYZ"]
' writedm 26, ["abcdefghijklmnopqrstuvwxyz"]
writedm 5000, ["test2"]
x var word
zeichen var long
cr con 13
start:
for x = 0 to 25
read x, zeichen
serout s_out,i9600,[zeichen]
next
serout s_out,i9600,[cr]
for x = 5000 to 5004
read x, zeichen
serout s_out,i9600,[zeichen]
next
serout s_out,i9600,[cr]
pause 1000
goto start