My previous example for viewing your eeprom data for verification was a bit abbreviated, and wouldn't work as stated. So here it is in a more usable form.
Code:
DEFINE HSER_TXSTA 20h ' enable RS232 transmission
DEFINE HSER_BAUD 19200 ' set to required baud rate on your system
eeadr con 100 ' set to eeprom address for data of interest
eedata var byte ' eeprom data storage
getdata
Read eeadr,eedata ' retrieve data byte from eeprom
For x = 2 To 0 Step -1 ' extract 3 digits for display
eedata = (eedata DIG x) + $30 ' convert to "decimalized" ascii number
Hserout[eedata] ' send ascii out RS232
Next x ' do it for all 3 digits of byte
With this code added to your program, you can send out, and verify the value of any byte stored in your internal eeprom as a decimalized 3 digit number (readable on any RS232 terminal program).
Bookmarks