Add memory to Boe-Bot
kingbp
Posts: 22
Hi I have a boe-bot with Bs2 microcontroller that only has 2k of memory I want to know if it is possible to add memory to the boe-bot because my memory is full, is their a device I can buy from parrallax to do this.
Comments
The other Stamp models have additional program memory, but the additional memory does not allow you to write larger programs. It allows you to load what are essentially several separate programs into the Stamp. Each program is limited to 2K, but you can have several of them and they can sort of work like overlays for each other. You'll just have to figure out how to make your program smaller. Often eliminating or shortening DEBUG statements will make a huge difference. Often identifying similar pieces of code and making them into subroutines will save a lot of space. Post your program as an attachment to a message and we'll make some suggestions. Please DO NOT cut and paste your program into a message.
The 26 bytes of RAM for variables usually requires reuse of the same variable in many ways. I find it easy if I view them as processor registers rather than variables in a high level language. The 1302 real time clock contains a small amount of RAM that you can load and store to using serial commands, but that can work against code space.
I also have a BS2e and the code banks were hard to use at first, but easy once I got the hang of it. I have never run out of program space on it.