Shop OBEX P1 Docs P2 Docs Learn Events
increasing amount of space for variables — Parallax Forums

increasing amount of space for variables

isaacjisaacj Posts: 2
edited 2009-04-29 03:57 in BASIC Stamp
All,
Does anyone know of a way to increase the amount of space for variables on any of the BS2 modules? I'm sure additional hardware will be necessary, I just dont know what to look for.

Thanks for your help,

-Isaac

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2009-04-29 03:57
    There is no way to increase the amount of variable space. Additional hardware won't do it.

    You can add external RAM that will let you store values, but you can't use the RAM as variable space. You use I/O statements to access it. For example, you can add a DS1302 Real Time Clock which adds 31 bytes of battery-backed RAM. There are Nuts and Volts Columns on the DS1302 and there's a thread on a demo program with a link on the Parallax webstore page for the DS1302.

    You can also update to a BS2p/pe/px Stamp or a BS2sx Stamp all of which have what's called Scratchpad RAM. Again, this uses special statements (GET/PUT) and you can't just use this extra memory like the variables, but it is RAM.
Sign In or Register to comment.