To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / *8885 (-20)
  Re: Waiting for more than one event
 
(...) You could setup two concurrent events or do something like : Loop until 5 seconds is up If Touched, exit loop (20 years ago, 29-Aug-04, to lugnet.robotics.rcx.robolab)
 
  Waiting for more than one event
 
What is the best way of waiting for more than one type of event? I want to turn on a motor and run it for 5 seconds or until the tough sensor is pressed, whichever comes first. This seems like such a basic problem that I'm quite sure there must be a (...) (20 years ago, 29-Aug-04, to lugnet.robotics.rcx.robolab)
 
  Re: Understanding Event Register Container
 
(...) Container defaulted to the Red Container. The actual question was raised by one of my students. He couldn't understand why Variable 0 was assigned a 0. I suspect that the 0 means "the event register". The designation is sure confusing. To (...) (20 years ago, 27-Aug-04, to lugnet.robotics.rcx.robolab)
 
  Re: Understanding Event Register Container
 
(...) Are you zeroing out the container in this step? I'm not used to reading a robolab program like this. How did you output the text? I would be interested in see the vi. Could you post it or send it to me? James (URL) (20 years ago, 27-Aug-04, to lugnet.robotics.rcx.robolab)
 
  Understanding Event Register Container
 
Below is text output of a Robolab 2.5 program using two concurrent events. What exactly does "Variable 0 = 0" mean? It's right under the EventLand label. This line represent the default Red Container being assigned the Event Register Container. (...) (20 years ago, 27-Aug-04, to lugnet.robotics.rcx.robolab)
 
  Re: OS X Complier problems solved--now struggling with BrickOS
 
(...) I got brickos working on a windows box (no joy with either gentoo linux on a PC or winXP on Virtual PC for my Mac). I transfered the compiled demos to the windows box and tried to download them to the RCX. All it did was lock up the RCX (I had (...) (20 years ago, 23-Aug-04, to lugnet.robotics.rcx.legos)
 
  Re: NQC preprocessor behavior - constants evaluated?
 
Code listing of Untitled1: *** Var 47 = x *** Var 46 = y *** Task 0 = main 000 pwr ABC, 7 13 07 02 07 004 dir ABC, Fwd e1 87 006 setv var[47], 150 14 2f 02 96 00 011 setv var[46], 5 14 2e 02 05 00 016 mulv var[46], var[47] 54 2e 00 2f 00 Total size: (...) (20 years ago, 18-Aug-04, to lugnet.robotics.rcx.nqc)
 
  BrickOS improvements
 
Hello, I have created some patches to improve brickOS and set up a web page: (URL) the link above doesn't work try the long version: (URL) patches are against latest CVS version. I see no reason, why the first two patches should not be applied: The (...) (20 years ago, 17-Aug-04, to lugnet.robotics.rcx.legos)
 
  Re: NQC preprocessor behavior - constants evaluated?
 
(...) The preprocessor only evaluates expressions if they are used in a conditional preprocessor statement (i.e. #if), otherwise they are simply treated as a series of tokens for the compiler to deal with. However, the compiler does evaluate (...) (20 years ago, 17-Aug-04, to lugnet.robotics.rcx.nqc)
 
  Wireless IR-RF gateway movie online :-)
 
Hi all, just a message to let you know that we just put on-line a small movie of the RCX with the IR/RF gateway working :-) You can find it in the bottom of the wireless web page at (URL) Gai pj@sssup.it (20 years ago, 16-Aug-04, to lugnet.robotics.rcx)  
 
  NQC preprocessor behavior - constants evaluated?
 
Pardon a basic, low-level question, but I'm trying to minimize memory & execution time. Does the NQC preprocessor precalculate constant expressions before the compile pass? For instance: #define CONST 100 #define HALF CONST/2 task main() { int x,y; (...) (20 years ago, 16-Aug-04, to lugnet.robotics.rcx.nqc)
 
  program_run
 
Does the program_run function still work in BrickOS? static void program_run(unsigned nr) I've been trying to get it to work, but it doesn't seem to do anything. If anyone has used this lately, I'd love to see what you did. Thanks Steve (20 years ago, 11-Aug-04, to lugnet.robotics.rcx.legos)
 
  Re: OS X Complier problems solved--now struggling with BrickOS
 
(...) How did you do this? Since I can't get firmdl3 to download it, I wanted to try this, but had no success (renamed it as brickOS.rcx--but that's probably not right). (...) OK, I've got a cross compiler that SEEMS to work with both C and C++. At (...) (20 years ago, 11-Aug-04, to lugnet.robotics.rcx.legos)
 
  LNP Woes (RCX-to-RCX)
 
So, I'm trying to get LNP working for RCX, and I haven't exactly been able to get it to work. More precisely, thanks to the smaple code here: (URL) gotten it to SEND messages just fine (or so I assume, since when I run the sending program, the (...) (20 years ago, 11-Aug-04, to lugnet.robotics.rcx.legos)
 
  Re: How to turn LEDs on/off ?
 
(...) I was not referring to the IR LED. I was referring to LEDs that can be connected to one of the motor ports. I believe Ross' initial response gave me the information I need. Thanks for everyone's help. -Brian (20 years ago, 10-Aug-04, to lugnet.robotics.rcx.legos)
 
  Re: How to turn LEDs on/off ?
 
(...) Well could you please be a little helpful and describe how you turn that LED on and off? I'm not familiar with communications from the RCX and there's no info on Dave's command reference, and I figured it was highly unlikely that's the LED (...) (20 years ago, 10-Aug-04, to lugnet.robotics.rcx.legos)
 
  Re: How to turn LEDs on/off ?
 
(...) Sure it does. They emit infrared light -- they're part of its IR communication system. (20 years ago, 10-Aug-04, to lugnet.robotics.rcx.legos)
 
  Re: How to turn LEDs on/off ?
 
(...) What LED are you talking about? The RCX has no LED build in. If you mean the LCD display, you can use the cputc_native_*() functions described here: (URL) you mean a LED connected to a motor output, just use the motor_* functions described (...) (20 years ago, 9-Aug-04, to lugnet.robotics.rcx.legos)
 
  How to turn LEDs on/off ?
 
What is the command to turn an LED on or off ? I've looked through the kernel files and I don't see anything that seems to do this. (20 years ago, 9-Aug-04, to lugnet.robotics.rcx.legos)
 
  Re: Add motor driver to RCX
 
(...) I've drawn a circuit to control more powerful motors (sadly in Visio format at the moment, though I my convert to jpeg later to post it). Since the H-bridges have flywheel diodes across the transistors, this will short the motor when the (...) (20 years ago, 5-Aug-04, to lugnet.robotics.rcx)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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