|
Re: Anyone looking for more program space?
Posted by Stephen at 03/14/2001 9:10 PM EST
Other on team #122, NASA Knights, from Grafton High School (Robotics team is at NHGS) and NASA.
In Reply to: Anyone looking for more program space?
Posted by Travis Hoffman on 03/14/2001 7:56 PM EST:
Hey,
you were right next to us in the pits (team 122) - great job at VCU.
any way, our code is 1300 + (comments included) lines of code, and the other day, it literally ran out of memory at "stop" so I just took "stop" out of the code, since the program never reaches it. With 4 potentiometers, 16 digital inputs, a y-cable for the joysticks, and 6 pre-defined positions, our code is just about as compressed as it can get. I would greatly appreciate any information on this feature - I have talked about it with the other programmers, and we just didn't have (well, at least I didn't have) information on how to use it. I mean, do you have multiple serin and serout commands (1 in each program), can the programs share common variables, do you get 26 bytes in each of the programs, or 26 total, to be shared amongst the programs, etc.
: For all I know, this may already be common knowledge,
: but does anyone need or want to know how to take advantage of the Basic Stamp II SX's ability to store and execute up to 8 2K-sized programs "at the same time"? After getting a headache trying to cram all the features of Xtremachen4's control program into a thimble sized 2K program, I got fed up and, darnit, I did something about it. I broke up the program into six separate subprograms, downloaded them to our backup control system, ran our Labview dashboard, and everything appeared to function correctly. I will have to wait to test the new setup on the actual control system at the Great Lakes regional, but for now, I feel that a great weight has been lifted off my shoulders. Huzzah!
: Travis Hoffman, Controls Captain, Team #48
: Beware of "The Claw"
__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
|