At this point, just proof of concept.
I need to read strings of numbers from EEPROM
I know where in the eeprom the string starts but will not know how long the string is.
I wondered if terminating each string with a dummy character, say @, I could use this to jump out of the read routine. Suggested coding being
Will this jump out of the for/next at the right time, or will it corrupt operation.
I need to read strings of numbers from EEPROM
I know where in the eeprom the string starts but will not know how long the string is.
I wondered if terminating each string with a dummy character, say @, I could use this to jump out of the read routine. Suggested coding being
Code:
symbol index=b10
for b0=index to 255
read b0,b1
if b1="@" then let b0=255
goto jump
endif
serout b.4,N2400,(b1)
pause 50
jump:
next b0
Last edited: