| | My first NQC
|
|
I just have to share - I know it's very basic, but it's my first program with NQC! and it's even cooler, since I can now use my 486 to program the RCX, and don't need to steal computer time from my wife's Windows :P I just wrote a little prog to run (...) (25 years ago, 24-Mar-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: infrared remote control of LEGO trains using NQC and RCX
|
|
(...) Maybe. I doubt it, though. :-) US locos need their tenders attached and I think loco's we've seen posted already may have size issues, for instance Dan's Big Boy. were someone to build an Erie Triplex, that would be even bigger. On the other (...) (25 years ago, 22-Mar-00, to lugnet.robotics.rcx.nqc, lugnet.trains)
|
|
| | Re: infrared remote control of LEGO trains using NQC and RCX
|
|
(...) I'm in hope of getting more realistic stuff too. But I have no idea, what Lego will bring out in future. And my fear is: as known by bar code truck, cybermaster and mindstorms nothing fill fit together again.... (Maybe starting a complete new (...) (25 years ago, 22-Mar-00, to lugnet.robotics.rcx.nqc, lugnet.trains)
|
|
| | Re: infrared remote control of LEGO trains using NQC and RCX
|
|
(...) I'm don't agree with this, because you can use it also in buildings to switch lights in /out, controlling windmills, bridges as well, and this all over the same wires, witch are in this case the track ! Of coarce, the used 'modules 'are (...) (25 years ago, 22-Mar-00, to lugnet.robotics.rcx.nqc, lugnet.trains)
|
|
| | Re: infrared remote control of LEGO trains using NCQ and RCX
|
|
(...) <...SNIP...> I won't go into the code detail as other members have already corrected it. I just wanted to say that if your interested in my RCX Train code, it's almost ready. (Phase 1 anyway) It has a few modes of use. MS Remote control. (...) (25 years ago, 22-Mar-00, to lugnet.robotics.rcx.nqc, lugnet.trains)
|
|
| | Re: infrared remote control of LEGO trains using NQC and RCX
|
|
First, let me apologize for mistyping NQC as NCQ. Hey Ben! Hope those rumors are true. So if they are going to do something with remote switches and such, will it be similar to DCC or radio/infrared control? I'm guessing some form of remote control. (...) (25 years ago, 22-Mar-00, to lugnet.robotics.rcx.nqc, lugnet.trains)
|
|
| | Re: infrared remote control of LEGO trains using NCQ and RCX
|
|
Hi Ben F.! Maybe all your work is a little needless, since there are rumors going around here in Germany, saying Lego is going to invent new more realistic trains next year, or even late this year around X-mas...... I've heared about it from a (...) (25 years ago, 22-Mar-00, to lugnet.robotics.rcx.nqc, lugnet.trains)
|
|
| | Re: infrared remote control of LEGO trains using NCQ and RCX
|
|
Thanks Dan. Actually, I just came up with this myself but I added a float line as follows to stop it a little more gracefully. if (__speed == 0) {Float(OUT_A);} I'm pretty pleased with the results now. Hopefully I'll be able to avoid those train (...) (25 years ago, 22-Mar-00, to lugnet.robotics.rcx.nqc, lugnet.trains)
|
|
| | Re: infrared remote control of LEGO trains using NCQ and RCX
|
|
(...) you never check if your speed is 0 in this task - IMO, you need to add: if (__speed == 0) {Off(OUT_A)}; (I'm guessing here, since I haven't really done any NCQ myself yet. :/ Dan (25 years ago, 22-Mar-00, to lugnet.robotics.rcx.nqc, lugnet.trains)
|
|
| | infrared remote control of LEGO trains using NCQ and RCX
|
|
When I first bought my RCX some time ago, I dreamed of using the remote control to drive the train. Well I think I finally have it working. The following code works but has a problem which perhaps somebody can help me with. The program looks for (...) (25 years ago, 22-Mar-00, to lugnet.robotics.rcx.nqc, lugnet.trains)
|