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 / *8875 (-20)
  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)
 
  Re: OS X Complier problems solved--now struggling with BrickOS
 
(...) Periodically I pick up this project again, get frustrated and give up. Then a few more months pass and I pick it up again... I seemed to have more success with the cross compiler this time around. BrickOS gave me a little trouble (strange (...) (20 years ago, 8-Aug-04, to lugnet.robotics.rcx.legos)
 
  Re: Beginners questions
 
Thanks James and the others who provided feedback. A couple of the links provided were new and did provide some good info. My team became very proficient with the RIS environment and are doing well learning Robolab as long as they stay on the beaten (...) (20 years ago, 5-Aug-04, to lugnet.robotics.rcx.robolab, FTX)
 
  Re: Add motor driver to RCX
 
(...) The amplifiers definitely won't work. I am bringing a demo 'bot to BrickFest which uses the buggy motors with an RCX. The RCX actually drives regular technic gear motors which drive a cam shaft which operates the buttons on the 9v (6 x AA) (...) (20 years ago, 5-Aug-04, to lugnet.robotics.rcx)
 
  Re: Multi-RCX Communication
 
(...) legOS allows this with a networking protocol. leJOS allows this if you're willing to work with Jini. Both of these require replacing the firmware with either C or Java. You can build your own networking protocol in any language, really. (...) (20 years ago, 5-Aug-04, to lugnet.robotics.rcx.legos, FTX)
 
  Re: RIS 2.0 upgrade CD? (part 3805)
 
(...) 2.0 adds new programming features which are mostly noticeable in the graphical programming environment that LEGO supplies. If you're using a different language, though, then the differences will be handled by the compiler. NQC was updated to (...) (20 years ago, 5-Aug-04, to lugnet.robotics.rcx, FTX)
 
  Re: Add motor driver to RCX
 
(...) 1) I'm not sure these are currently available 2) They only give you independent control of two motors per RCX output (but you can connect motors together) 3) They won't work with the 8366 motors (they were designed before those were available) (20 years ago, 5-Aug-04, to lugnet.robotics.rcx)
 
  Re: Add motor driver to RCX
 
(...) John Barnes (HiTechnic) has available a motor amplifier which draws it's power from an external source, and can control 4 motors from 1 RCX ouptut. I haven't tried one, but you might find it helpful: (URL) (20 years ago, 5-Aug-04, to lugnet.robotics.rcx)
 
  Re: Add motor driver to RCX
 
(...) What does this mean in electrical novice terms? What is an auto-coupler? Is it possible to modify the reciever/power unit to interface with the RCX? ie maybe add an inferred recuever to interpret commands from the rcx to power the motors (...) (20 years ago, 5-Aug-04, to lugnet.robotics.rcx)
 
  Re: laser distance sensor
 
(...) Who said you had to actually use laser? :) Google for "electronic tape measure" to see what I'm talking about (they really use sonar, with a laser pointer to show where the device is reading from). Home Depot has one for $29. Now, the biggest (...) (20 years ago, 5-Aug-04, to lugnet.robotics.rcx)
 
  Re: laser distance sensor
 
(...) This is an interesting subject and one which generates some interest every so often. The conventional assumption would be that you are talking about LIDAR. The thing is, even if simple plans where available, would you be able to use them to (...) (20 years ago, 4-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