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 / 26 (-20)
  Re: Battery voltage available within NQC?
 
(...) There's a bytecode (0x30) that instructs the RCX to send the battery voltage as a response over the IR. That's what NQC and Mindstorms use to read the battery voltage. I don't think this opcode has any effect within a program, or at best it (...) (26 years ago, 12-Mar-99, to lugnet.robotics.rcx.nqc)
 
  Battery voltage available within NQC?
 
Last night I went out and bought six C cell nicads and wired them up as a power supply for my robot. What I'm wondering is this: is there some way to programmatically obtain the battery voltage, so I could make a decision based on a voltage (...) (26 years ago, 11-Mar-99, to lugnet.robotics.rcx.nqc)
 
  RcxCC version 2.2 available
 
I am happy to announce the public release of version 2.2 of RCX Command Center. RCX Command Center is a Windows (95, 98, NT) program that assist you in programming the Lego MindStorms or CyberMaster Robots. It provides a higher level interface to (...) (26 years ago, 10-Mar-99, to lugnet.robotics.rcx.nqc, lugnet.robotics)
 
  Re: RcxCC for NQC 1.1?
 
I have not done extensive testing but it worked for me. Replaced nqcc.exe and nqc.h with the new versions 1.2. (...) (26 years ago, 9-Mar-99, to lugnet.robotics.rcx.nqc)
 
  NQC 1.2 has been released
 
NQC Version 1.2 adds support for simple inline functions and basic expression evaluation. More details can be found at: (URL) (26 years ago, 9-Mar-99, to lugnet.robotics.rcx.nqc, lugnet.robotics)
 
  Re: RcxCC for NQC 1.1?
 
Can you simply replace the nqcc executable in the RcxCC directory with the new version? (...) (26 years ago, 8-Mar-99, to lugnet.robotics.rcx.nqc)
 
  RcxCC for NQC 1.1?
 
I just downloaded RcxCC and noticed that it is still using NQC 1.0b4 Was the RcxCC project abandoned? Why it still uses an outdated version of NQC? Are there any other good alternatives to RcxCC for the new NQC? Thanks Laurentino Martins (...) (26 years ago, 7-Mar-99, to lugnet.robotics.rcx.nqc)
 
  Re: Compiling the compiler
 
(...) I've checked into this a little further. It comes down to something like the following: void foo(const char *p) { delete p; } On one hand, this is conceptually a violation of "constness" as a caller to foo() wouldn't know that the object (...) (26 years ago, 6-Mar-99, to lugnet.robotics.rcx.nqc)
 
  Re: Compiling the compiler
 
(...) What file are you compiling when you get this error? I think the fix is to include "Symbol.h" before the array templates get instantiated, but it is curious that neither Metrowerks nor gcc complain. (...) Yes, a cast should be fine. Offhand, (...) (26 years ago, 5-Mar-99, to lugnet.robotics.rcx.nqc)
 
  Re: Compiling the compiler
 
Thanks Dave, I did however find a version of Bison and Flex to use under windows. I didn't want to install the whole cygwin distribution so I searched and found stand alone versions of that came from DJGPP. I'm still having a few minor (...) (26 years ago, 4-Mar-99, to lugnet.robotics.rcx.nqc)
 
  Re: Compiling the compiler
 
(...) You can probably use parse.tab.c instead. The whole default/parse.cpp thing is specific to Unix builds. The Mac and Windows builds are done under Metrowerks with custom Flex/Bison plugins. The output of those plugins is in nqc/lexer.cpp and (...) (26 years ago, 4-Mar-99, to lugnet.robotics.rcx.nqc)
 
  Compiling the compiler
 
I am thinking about porting NQC to Windows CE. The first thing I noticed was that the default parse.cpp file was missing from the source distribution. Also, has anyone already created a VC++ project file for NQC? I'd like to get a copy if it has (...) (26 years ago, 3-Mar-99, to lugnet.robotics.rcx.nqc)
 
  UPDATE: nqce 1.0, a Java-based editor for NQC (Not Quite C)
 
nqce 1.0: a Java-based editor for NQC (Not Quite C) Not Quite C is a simple language with a C-like syntax that can be used to program the LEGO RCX, the brick computer which forms the heart of LEGO Mindstorms. NQC is written by Dave Baum, and (...) (26 years ago, 3-Mar-99, to lugnet.robotics.rcx.nqc)
 
  Re: Making Light Sensor Passive
 
I'm not sure what you mean by "making light sensor passive". The light sensor, by design, requires power to work. You can tell the RCX that the light sensor is a passive sensor, but you don't get much range in readings - the phototransistor in the (...) (26 years ago, 25-Feb-99, to lugnet.robotics.rcx.nqc)
 
  Making Light Sensor Passive
 
I was wondering if anyone knew how to do this in NQC? Thanks, Mike (26 years ago, 25-Feb-99, to lugnet.robotics, lugnet.robotics.rcx.nqc)
 
  ANNOUNCE: nqce - a Java-based editor for NQC (Not Quite C)
 
ANNOUNCE: nqce - a Java-based editor for NQC (Not Quite C) Not Quite C is a simple language with a C-like syntax that can be used to program the LEGO RCX, the brick computer which forms the heart of LEGO Mindstorms. NQC is written by Dave Baum, and (...) (26 years ago, 24-Feb-99, to lugnet.robotics.rcx.nqc)
 
  Re: One Big Program
 
Small misunderstanding... The RCX firmware contains a small interpreter which runs "RCX bytecodes". These are very different from H8 machine language. NQC generates code that runs within the interpreter, and asm statements just generate raw (...) (26 years ago, 23-Feb-99, to lugnet.robotics.rcx.nqc)
 
  One Big Program
 
I'm going to follow Dave's suggestion in an earlier post, and post to this group, on an issue I raised to him earlier: The three principal limitations to "large" program development on the RCX are: 1. 32 variables globally 2. 8 subroutines/ program (...) (26 years ago, 23-Feb-99, to lugnet.robotics.rcx.nqc)
 
  Re: NQC 1.2 in beta testing
 
The thing to remember about legOS is that pretty much anything you can do in C (gcc, egcs) in 32k of RAM, you can do with legOS. I believe that both legOS and NQC have definite places in the RCX programming universe. I happen to have been using gcc (...) (26 years ago, 22-Feb-99, to lugnet.robotics.rcx.nqc)
 
  RE: NQC 1.2 in beta testing
 
Well, those are still cool new functions...I will keep wishing the RCX firmware allowed runtime evaluations instead of constants. Maybe LegOS does...does anyone know? Rich (URL) Message----- From: news-gateway@lugnet.com (...) (26 years ago, 22-Feb-99, to lugnet.robotics.rcx.nqc)


Next Page:  5 more | 6 more

Redisplay Messages:  All | Compact

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