To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 24144 (-5)
  Re: Does any RCX firmware allow a variable to survice shutdown?
 
Thanks for your help everyone. As predicted, it was simply that I was defining my variables in the program, and it hadn't occurred to me that they were already persistant and I was actually resetting them myself. Can there ever be a better answer (...) (21 years ago, 29-Jun-05, to lugnet.robotics)
 
  Re: Does any RCX firmware allow a variable to survice shutdown?
 
(...) Here's a very simple NQC example using the standard LEGO firmware. #pragma noinit int a; task main() { a++; } This simple NQC program will increment global variable zero by one each time it is run. You can turn off the RCX and turn it back on (...) (21 years ago, 29-Jun-05, to lugnet.robotics)
 
  Re: Does any RCX firmware allow a variable to survice shutdown?
 
(...) Global variables in the standard LEGO firmware(s) are persistent (i.e., their values are not lost when you turn off the RCX). You describe turning the RCX off and on using the "start/stop" button. I am guessing that you mean the red button (...) (21 years ago, 29-Jun-05, to lugnet.robotics)
 
  Re: An Idea for new Mindstorms - event potential?
 
(...) I'm not knocking the fly, I'm saying that landing on the ceiling is a very difficult problem to solve by realtime calculated piloting (even using a desktop PC). But it needs very little calculation at all if the problem is almost entirely (...) (21 years ago, 29-Jun-05, to lugnet.robotics)
 
  Re: An Idea for new Mindstorms - event potential?
 
Citando Steve Baker <sjbaker1@airmail.net>: Justin wrote: > A fly can land on the ceiling not > because it is smart (it isn't), but because it's body is built such that the > laws of physics themselves automate a process that would be prohibitively (...) (21 years ago, 28-Jun-05, to lugnet.robotics)

Next Page:  5 more | 10 more | 20 more
Redisplay Messages:  All | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR