Subject:
|
constants for NQC using firmware 0328
|
Newsgroups:
|
lugnet.robotics.rcx
|
Date:
|
Wed, 27 Jun 2001 00:55:45 GMT
|
Viewed:
|
1497 times
|
| |
| |
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 has 1 Reply: | | 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
|
|
|
|