Re: NQC on XP?

William Grant <[email protected]> Mon, 17 Apr 2006 10:37:54 +0000
Newsgroups gmane.comp.hardware.lego.robotics
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

linmix wrote:
> I'm just starting off with my Mindstorms set, but after some digging on
> the web I've come to the conclusion that there are more powerful and
> probably more fun tools than the RIS software.
> 
> I'm particularly interested in NQC as I've found a nice tutorial on how
> to use it and quite some sample code.
> the NQC page at sourceforge doesn't specifically mention XP as a
> compatible OS. Also although it does make some reference to the USB IR
> tower, the information provided has left me with some doubts:
> 
>    * Will NQC work on XP?

Yes.

>    * After installation I haven't found a configuration file, so where
>      do I "set the RCX_PORT environment variable to usb"?

In the console where you are running NQC, type `set RCX_PORT=usb' before
starting it.

> My main desktop is linux (Fedora 4).
> 
>    * Has anyone managed to use NQC with the USB tower in linux?

The Linux kernel has had LEGO USB Tower support for quite some time,
although it might not have been compiled into your current kernel. There
is a specific option for it in the kernel config.

If you have support, you should see /dev/legousbtower0 appear when you
plug in the tower. This is the file you need to point NQC to.

> I would appreciate detailed and step by step instruction.
> 
> Thanks in advance,
> 
> Linmix

William.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEQ3ACGr2rfWFeutsRAnmMAJ4/aoH8uYtm1HJaxStBv4yYrW/jgACZAYv3
Og67HzsKfbDTvfdYnVgnrMg=
=drg+
-----END PGP SIGNATURE-----