Datasheet
Chapter 2: EEPROM Tricks and Program Tips · Page 45
READ RunStatus, temp
DEBUG DEC temp, CR
DEBUG "Address of UndefData........", DEC UndefData, CR, CR
DEBUG "Address of Alphabet........", DEC Alphabet, CR
DEBUG "Values stored........."
FOR counter = 0 TO 6
READ Alphabet + counter, temp
DEBUG temp
PAUSE 200
NEXT
END
Your Turn - Examining EEPROM Symbol name Values
Figure 2-2 shows the Memory Map window for SymbolNamesVsAddressContents.bs2.
√ Click the BASIC Stamp Editor's Run menu, then select Memory Map. The
window that appears should resemble the one shown in Figure 2-2.
Figure 2-2 Memory Map
The values of the EEPROM bytes and the addresses along the top and side of the
EEPROM map are all displayed as hexadecimal (base-16) numbers. Hexadecimal counts
like this: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F, 10, 11, 12... To convert from
hexadecimal to decimal, multiply the rightmost digit by 16
0
= 1, then the 2nd digit from