Eeprom help!
Uh, my cartographer robot's program is gettin' pretty huge.
SO huge in fact that I am not sure that the entire program can fit into the Basic stamp's EEPROM
Does anyone know how to store a PBasic program in an external EEPROM chip?
please help!
synopsis science fair is looming around the corner, and I want that money!
$$$
PLEASE HELP!
SO huge in fact that I am not sure that the entire program can fit into the Basic stamp's EEPROM
Does anyone know how to store a PBasic program in an external EEPROM chip?
please help!
synopsis science fair is looming around the corner, and I want that money!
$$$
PLEASE HELP!
Comments
It's not possible to store 'program code' into an external eeprom and have the BS2 use it. You CAN use an external SPI interfaced EEPROM (24LC640 or so) to write result data out to. And there are BS2 'flavors' that have multiple 2K byte 'slots' you can use -- you can't make simple subroutine calls across slots, but this space can be used via the "RUN" keyword, and some clever programming.
It is very rare that a program can't be made significantly smaller when re-thought / re-written. Experienced engineers often talk about "throwing one version away" when they can afford to do so given whatever constraints there may be on a project. The second version is the result of the learning process in constructing the first version. There's a particular mindset you have to get where you back up and look critically at Version One and non-judgmentally say to yourself "OK, How would I have done that better?".