 | | 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)
|
| |
 | | Re: Bonding Lego plastic?
|
|
If you want to bond Lego brick permanently, use acetone. It will dissolve the ABS and the bricks will be bonded forever! Acetone is found in nailvarnish remover... Dave. -----Original Message----- From: D/ <d_miller@ophley.mv.com> To: (...) (28 years ago, 2-Jan-99, to lugnet.robotics)
|
| |
 | | StartOfTask
|
|
Could somebody clear this up for me? Does this overwrite your current program stored in the RCX, or does it create a new micro program that runs immediately? does this work like a normal program (I.E.: RCX Code) are you restricted to the 5 slot (...) (28 years ago, 2-Jan-99, to lugnet.robotics)
|
| |
 | | Re: Programming the RCX in VB
|
|
Hi John, If you're looking for VB5 sources visit the site below. CU Bert Visit my site on Lego, Robot's and Visual Basic at (URL) bericht----- Van: John Cutter <lugnet.robotics@lugnet.com> Aan: lego-robotics@crynwr.com <lego-robotics@crynwr.com> (...) (28 years ago, 2-Jan-99, to lugnet.robotics)
|
| |
 | | another question
|
|
Also, how do you switch the light sensor from reflective mode to ambient mode? I suspect that the LED is what's already run down my batteries, and I don't read reflected light, I read ambient light anyway. -- +---...---] | Ickna / Nick H. | (URL) (...) (28 years ago, 2-Jan-99, to lugnet.robotics)
|
| |
 | | Re: legOS ... really a stack question
|
|
(...) Looking at my memory map, it appears that there is space for the stack in on-chip memory between fdc0 and ff7e (or thereabouts). That's just about 450 bytes. If you need more stack space than that, you'll need to move the stack to off-chip (...) (28 years ago, 2-Jan-99, to lugnet.robotics)
|