Expanding number of variables?
Is it possible to add RAM (or whatever it takes) to allow an increased number of variables on a BS2? With only 32 bytes (some of which are used for special registers), that leaves no room for arrays of any significant size.
Comments
You can add external memory like EEPROM or Ramtron's FRAM as I/O devices. There are some serial RAMs that use the SPI protocol that only require 3 I/O pins for access and work with the SHIFTIN / SHIFTOUT statements like any SPI device. Some of the real time clocks (RTCs) have battery backed RAM. A BS2 doesn't have built-in statements for things like EEPROM or FRAM or RTCs, but the other Stamp modules have the I2CIN and I2COUT statements which make it really easy to use these devices.
If you really must have more RAM, you should consider the Propeller which has plenty.
26 bytes is awful limiting...so it's either a Propeller as you suggest or go entirely to PIC Micros.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST
1uffakind.com/robots/povBitMapBuilder.php
1uffakind.com/robots/resistorLadder.php
Why is it not possible to add RAM Mem. to the BS2 ?
Is it the physical size of the Address# ?
This is a very interesting POST
_______$WMc%_______________Merry Xmas___
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Truth is out there
I Thank You for the clarity . I now have a new understanding of how things work.
This answers A lot of questions I've had
___Thanks_____$WMc%________Merry Xmas__
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Truth is out there