Tutorial - Retrieving EEPROM Data From BASIC Stamp Modules
Qwaszx72
Posts: 30
Here is a simple tutorial teaching you how to retrieve the EEPROM Data from your BASIC Stamp(BS2 or above):
Comments
*Because the BS2 has only one program slot(The BS2e and BS2sx have more than one program slot yet there is no command which allows you to change which program slot you are reading from), 32 BYTES of data will not be retrievable.
**Also the format that the EEPROM Data is displayed in is simplified in order to reduce the program size.
Here is a version of the above code that debugs the EEPROM data in a 128 by 16 matrix:
*The above code requires 64 BYTES of the EEPROM
Here is the first program:
*The above code will take up 16 BYTES from the EEPROM(This is the least that a program can use)
And here is the second:
*This code is a lot more extravagant because it is on a different program slot and will usually not interfere with the current program on the EEPROM
*The above program will RUN the program on SLOT # 1; Change the 1 into any number between 1-7 to see if a program in on any of those program slots
**This program will work on any BASIC Stamp module above the BS2
Please post any comments, questions, or fixes that you wish. I will get back to you as soon as I can.
Also, if you would like me to create more tutorials, please do not be hesitant to reply asking me to do so. Just be sure to tell me what you would like the tutorial to be on.
Here are the links to my other tutorials:
BASIC Stamp Debugging
-Phil
Next time make sure it does actually works - the DEBUG without CR as last formatting parameter may not be what you wanted.
I also think that you comment on "32 BYTES of data will not be retrievable" needs explanation.
If you want to do more tutorials - I would suggest tutorial on program debugging - include DEBUG, DEBUGIN, conditional compilation ( #DEFINE ), STOP etc.
Also usage of subroutines tutorial would be nice.
Again, good and much appreciated and needed work, but look up “extravagant”, I am not sure you met that.
Also, I will begin work on a program debugging tutorial today. Thanks for the suggestion.