Subject:
|
Re: constants for NQC using firmware 0328
|
Newsgroups:
|
lugnet.robotics.rcx
|
Date:
|
Wed, 27 Jun 2001 10:00:37 GMT
|
Viewed:
|
1505 times
|
| |
| |
Ooops,
sorry, I did'nt notice this section in the FAQ (in your book as well !).
Thanks a lot Dave
best regards
Rainer
In lugnet.robotics.rcx, Dave Baum writes:
> Make sure that you are targeting RCX 2.0. Some IDEs allow you to set
> this in a preference. For the command line version, add -Trcx2 to the
> command. You can also use the NQC_OPTIONS environment variable. See
> http://www.enteract.com/~dbaum/nqc/doc/faq.html#-Trcx2 for more info.
>
> Dave Baum
>
>
> In article <GFKD8x.K95@lugnet.com>, "Rainer Balzerowski"
> <balze2@gmx.net> wrote:
>
> > Hi All,
> >
> > Has anyone succedded using the SetSerialComm() Command with the constants
> > as
> > described in the NQC documentation (in the Extreme Mindstorms book as
> > well,
> > Dave are you listening ?) ?
> >
> > I tried today, but did'nt succeed.
> >
> > I tried it this way :
> >
> > SetSerialComm (SERIAL_COMM_4800 | SERIAL_COMM_DUTY25);
> >
> > and received two errors, telling me, that SERIAL_COMM_4800 and
> > SERIAL_COMM_DUTY25 are undefined variables.
> >
> > Am I doing anything wrong ??
> >
> > I guess that these constants carry a defined bit set. If so, does anyone
> > know which bits have to be set for the different constants ?
> >
> > Thanks in advance,
> >
> > Rainer
|
|
Message is in Reply To:
| | Re: constants for NQC using firmware 0328
|
| Make sure that you are targeting RCX 2.0. Some IDEs allow you to set this in a preference. For the command line version, add -Trcx2 to the command. You can also use the NQC_OPTIONS environment variable. See (URL) for more info. Dave Baum (...) (23 years ago, 27-Jun-01, to lugnet.robotics.rcx)
|
5 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|