Out of Variable Space????
coors
Posts: 28
I am writing 2 different codes and both went well alone.· Now I added both together cause they will be complimenting each other.· Howver the compiler is complaining now about "Out of Variable Space".· WTF
Thing is I still need to·add even another segment of code to the program.· Is there a way around this.· Maybe getting another BOE and connecting them both??
ANy help wopuld be appreciated.
Thing is I still need to·add even another segment of code to the program.· Is there a way around this.· Maybe getting another BOE and connecting them both??
ANy help wopuld be appreciated.
Comments
There may be several ways to increase your variable space, but it's hard to say what your best solution
would be without taking a look at your code.
Personally I would avoid moving to a second BOE if at all possible.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe - Mask Designer III
National Semiconductor Corporation
(Communication Interface Division)
500 Pinnacle Court, Suite 525
Mail Stop GA1
Norcross,GA 30071
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae
Tech Support
dandreae@parallax.com
www.parallax.com
·
Bruce
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Name: Bruce Clemens
Work:· Clemensb@otc.edu
Good Stuff on my Bolg: http://theDeadBug.journalspace.com
could you upgrade to a bs2p then you
could throw the 2 different programs on different pages
and pass info using the ram
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
DTQ
I would do this over a second (or even a third) BOE
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe - Mask Designer III
National Semiconductor Corporation
(Communication Interface Division)
500 Pinnacle Court, Suite 525
Mail Stop GA1
Norcross,GA 30071
F.example in a thermometer type application measuring body-temperature, you'd assume a 'lowest possible' value, and use this as an offset. (Setting this to 30, and using a nibble type variable will give a range of 30 to 46 degrees centigrade, instead of wasting a whole Byte on it. Should work with Fahrenheit, too, but I'm not certain about the range you need)
It's a bit slower as you must sometimes add or subtract a constant, but it might help you squeeze in more into the variable space.
Also, some of the Stamps allows you to do SERIN/SEROUT and similar commands using a Scratchpad RAM instead of variables as the buffer.