|
Re: Does any RCX firmware allow a variable to survice shutdown?: msg#00080hardware.lego.robotics
On Tue, June 28, 2005 6:38 am, Justin said: > I'd like my robot to be able to store a variable, such that when I turn the > RCX > off, then back on again, with the start/stop button, the value of the variable > is retained, not wiped. > > I program in NQC, using Bricx Command Centre as the dev tools. I currently use > the Lego firmware 2.0. Is this possible with my current set-up? Is it possible > with any set-up? I know this is possible with BrickOS. However, it may even be possible with the NQC. I've seen where people use the same value across different programs. You just need to make sure you store the variables in the same order. So, I'd assume you can do that with a single program. Just make sure you don't initialize your variables at the start of the program. Have you tried accessing the same variables without initalizing them? Steve |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: An Idea for new Mindstorms - event potential?: 00080, Justin |
|---|---|
| Next by Date: | Re: Does any RCX firmware allow a variable to survice shutdown?: 00080, Philippe Hurbain |
| Previous by Thread: | Does any RCX firmware allow a variable to survice shutdown?i: 00080, Justin |
| Next by Thread: | Re: Does any RCX firmware allow a variable to survice shutdown?: 00080, Justin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |