 | | legOS ... really a stack question
|
|
I'm still having reliability problems with legOS when using the task management routines. However, I think the problem has more to do with the stack than the tm routines. I think the problem is related to the direct-motor routines and the entries in (...) (28 years ago, 2-Jan-99, to lugnet.robotics)
|
| |
 | | RE: Touch sensor mux simulator
|
|
Toni, Nice job! You're english isn't so bad either! Carl | -----Original Message----- | From: Toni Martinez-Colom [mailto:toni@crusher.udg.es] | Sent: Saturday, January 02, 1999 2:34 PM | To: Lego-robotics@crynwr.com | Subject: Touch sensor mux (...) (28 years ago, 2-Jan-99, to lugnet.robotics)
|
| |
 | | Programming the RCX in VB
|
|
I'm starting on the program for my Mindstorms robot and I had a question. What is the best way to get a random number using VB? At first glance I can find a register that appears to generate a random number between 1 and 32768, but how do I limit (...) (28 years ago, 2-Jan-99, to lugnet.robotics)
|
| |
 | | Beat me to it
|
|
Darn, you beat me to it! I've just been working on that exact feature for my yet-to-be-released program.... I won't copy your code, don't worry, I'll just observe your method... -- ( Ickna / Nick H. ) ( (URL) ) ( Ickna@-nospam-aol.com ) ( Remove (...) (28 years ago, 2-Jan-99, to lugnet.robotics)
|
| |
 | | Re: legOS ... really a stack question
|
|
(...) Hmmm ... good point. 0xf000 is memory mapped I/O for the motors, IIRC. Not sure whats above there, but I wouldn't be surprised to hear it isn't a good place to store things. I'd guess that setting the stack to 0xeffe should be equally good. (...) (28 years ago, 2-Jan-99, to lugnet.robotics)
|