To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.scoutOpen lugnet.robotics.scout in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Scout / 153
152  |  154
Subject: 
Re: legOS
Newsgroups: 
lugnet.robotics.scout
Date: 
Wed, 14 Feb 2001 05:51:03 GMT
Viewed: 
2697 times
  
In article <G8pqJF.BMq@lugnet.com>, "Alex" <neo@fortworks.com> wrote:

nqc -SCOM2

You need to be careful about upper/lower case for options.  I know its
annoying, but there are a *lot* of options, so case is important.  In
the case of specifying the serial port, the option is immediately
followed by the serial port name (no space).  Kinda like the -I, -L, -D
and other options for gcc.

I tried what you said quite a bit but it just says "usage error: try
nqc-help'
to display options"
My serial port works fine for my Scout Tool program. and I have tried to
switch
the RCX to the scout like this "nqc -T Scout" and "nqc -TScout"
and it doesn't do anything. and when I try "nqc -d test.nqc"
it thinks for a while and the says "No reply from RCX"
It seems like I cant do anything with it yet.

Alex

If you're using a Scout then you need to add the -Tscout option...

nqc -Tscout -d test.nqc

Unless you are using NQC 2.3 b1, you'll need to manually set the Scout
in "power mode" before trying to download.  (version 2.3 b1 will do this
automatically for you via some IR commands).


Dave

--
reply to: dbaum at enteract dot com



Message has 1 Reply:
  Re: legOS
 
(...) Thanks I got the test.nqc flie to download and it worked....but when I try any program from the unoffical guide to lego mindstorms robots like the Hank The Bumper Tank program, it gives me the undifined variable error it says "undifined (...) (24 years ago, 14-Feb-01, to lugnet.robotics.scout)

Message is in Reply To:
  Re: legOS
 
(...) I tried what you said quite a bit but it just says "usage error: try nqc-help' to display options" My serial port works fine for my Scout Tool program. and I have tried to switch the RCX to the scout like this "nqc -T Scout" and "nqc -TScout" (...) (24 years ago, 13-Feb-01, to lugnet.robotics.scout)

15 Messages in This Thread:




Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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