To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / *152 (-20)
  Q:#include and RCXCC 3.0 beta help requested
 
Hello. I have two questions about #include. I am using RCXcc Beta 3.0. 1. How do you specify the default include path. Is there an environment var? 2. When I use the full path (E:\lego\application...\file.nqh) I get an error that says there is no (...) (25 years ago, 19-Sep-99, to lugnet.robotics.rcx.nqc)
 
  Re: Tasks vs. program slots
 
(...) They are one and the same. When transmitting, the IR tower just uses the RS-232 TXD line to switch on the 38kHz carrier. It also has some timing circuitry to keep it alive, and an Rx side, but the Tx is painfully simple. You'll probably see (...) (25 years ago, 18-Sep-99, to lugnet.robotics.rcx.nqc)
 
  Re: Tasks vs. program slots
 
(...) The Sharp GP1U581Y is a 38kHz receiver that incorporates an amp, a limiter, a bandpass filter, and a demodulator ... outputs a low while receiving an IR signal, a +5V high when not. It does NOT do any decoding. (...) From what I've been seeing (...) (25 years ago, 18-Sep-99, to lugnet.robotics.rcx.nqc)
 
  [OT] Decoding the LEGO remote control
 
Hi All - - A couple of weeks ago I received my LEGO MindStorms #9738 remote control. It's really cool to be able to select, start, and stop programs ... override the motor controls ... send messages, etc. If fact, it's SO COOL that I want to be able (...) (25 years ago, 18-Sep-99, to lugnet.robotics.rcx.nqc)
 
  Re: Tasks vs. program slots
 
(...) What exactly does the Sharp IR receiver do? If it uses Sharp's ASK modulation, then you may have a problem. Ideally, what you want is something like a phototransistor to a good preamp, followed by a bandpass around 38kHz, then some sort of (...) (25 years ago, 18-Sep-99, to lugnet.robotics.rcx.nqc)
 
  Re: Code Repository
 
(...) I agree, a central site is key to this working. I thought a web site might be able to give the best interface, especially if it had a java front end that facilitated checking code in/out. (...) In the sample code that came with the NQC (...) (25 years ago, 18-Sep-99, to lugnet.robotics.rcx.nqc)
 
  Re: Code Repository
 
(...) Pick one to be master and have the others shadow it for better performance? (25 years ago, 18-Sep-99, to lugnet.robotics.rcx.nqc)
 
  Re: Code Repository
 
Whoops, there are already 4 propositions of nqc code repository. Which one is ideal? imho, the best we can have is only one place, with all the stuff. Or some kind of colaboration between the different hosts. Else, this won't be as usefull as it (...) (25 years ago, 18-Sep-99, to lugnet.robotics.rcx.nqc)
 
  Re: Tasks vs. program slots
 
Hello Dave, First, let me thank you for NQC ... you've made my RCX playing tremendously more rewarding. I've been wanting to use a Sharp IR receiver to demodulate the signal from a LEGO remote control, and then a PIC to decode the rx output for use (...) (25 years ago, 18-Sep-99, to lugnet.robotics.rcx.nqc)
 
  Re: Tasks vs. program slots
 
(...) Too bad! So, the next thing I wonder is if there's any way to get an RCX to _send_ these packets to another RCX... (25 years ago, 18-Sep-99, to lugnet.robotics.rcx.nqc)
 
  NQC API
 
I've been using NQC a bit ... and when the NQC 2 Request was posted, I got to thinking ... What about making a standard API that is not changed (except for officially) and a 'macro library' that can be added to and downloaded off of a website or (...) (25 years ago, 18-Sep-99, to lugnet.robotics.rcx.nqc)
 
  Re: Tasks vs. program slots
 
(...) The remote control always sends the same sort of packet: d2 xx yy where xxyy is a sixteen bit bit-field indicating what features should be activated: xxyy 0001 Message 1 0002 Message 2 0004 Message 3 0008 Motor A Forward 0010 Motor B Forward (...) (25 years ago, 18-Sep-99, to lugnet.robotics.rcx.nqc)
 
  Re: Tasks vs. program slots
 
(...) This is why it might be nice to get the remote control reverse engineered -- we may discover a way. (25 years ago, 17-Sep-99, to lugnet.robotics.rcx.nqc)
 
  Re: Tasks vs. program slots
 
(...) RCX contains 5 programs. Each program can have up to 10 tasks and 8 subroutines. Only one program may run at any given time, multitasking is between tasks in the same program. There is no known programmatic way of transferring control from one (...) (25 years ago, 17-Sep-99, to lugnet.robotics.rcx.nqc)
 
  I'll host the Code Repository!
 
I wouldn't mind hosting a NQC lego code repository on Maktos.com. I have plenty of space, so you could send me pictures, code, articles, news, whatever you want. I'll put it all up in its own area. I have a really nice server with plenty of space (...) (25 years ago, 17-Sep-99, to lugnet.robotics.rcx.nqc)
 
  Re: Tasks vs. program slots
 
(...) Not each using the _total_ max of course. But yeah. (...) Yep. I do this all the time. I often make a with-sound and a silent version, for example. It's also nice if you have a version of your program which works well but you want to make some (...) (25 years ago, 17-Sep-99, to lugnet.robotics.rcx.nqc)
 
  Re: Tasks vs. program slots
 
(...) Now you have ME wondering. Can we build 5 programs each with 10 tasks, each of these programs using all of the RAM, max program space, etc.? I have yet to do anything that ambitious, but it would be cool to switch behaviours by just changing (...) (25 years ago, 17-Sep-99, to lugnet.robotics.rcx.nqc)
 
  Re: Tasks vs. program slots
 
(...) I believe that there's a maximum of ten tasks. So it would be a coincidence, but it isn't. :) (25 years ago, 17-Sep-99, to lugnet.robotics.rcx.nqc)
 
  Tasks vs. program slots
 
I am curious to clarify something. The NQC documentation states that an NQC program can have up to 5 tasks (I think that's the right number). In addition, the brick itself has the 5 program slots. Are they related or is it a coincidence of (...) (25 years ago, 17-Sep-99, to lugnet.robotics.rcx.nqc)
 
  Re: Code Repository
 
(...) anyone, allowing great amount of flexibility. I have created an area here: (URL) site is designed to be very flexible, including good viewability under all browsers, simplified layouts (for lynx, too, see [appearances]), editability, etc. I'd (...) (25 years ago, 16-Sep-99, to lugnet.robotics.rcx.nqc)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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