Subject:
|
help with NQC
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Tue, 17 Oct 2000 17:09:04 GMT
|
Original-From:
|
Giacomo <CAMP0S@spamcakeLIBERO.IT>
|
Viewed:
|
731 times
|
| |
 | |
Finally i decided to use NQC, the Lego Programmer was too much limited, and
others system to program the RCX where still limited;in the other hand
,however, i do not want to get under the firmware.
Ok ,i downloaded the firmware 2.0 ,the NQC+Manual v2.2 r1, and after a night
of "passion" i got some question:
1) Where can i find some example of NQC programs ,just to see how they are
written;
2)What are the differences between Functions and Subroutines ? (why trere
are also Functions, subroutins are'nt better, es less memory use)
3)What are the Assignments ? (+=, -=, /=..)
4)The #include, #define, #if definition, #ifdef symbol, #ifndef
symbol,#else, #elif condition, #endif : what they do ?
5)Events :how can I use them ? where are they useful than choosing other
system ?
Thanks for the help.
|
|
Message has 3 Replies:  | | Re: help with NQC
|
| (...) I am a programmer a so I will try to answer some of your questions. 1) I think the NQC distribution has some examples. D. Baum's book : The Definitive Guide to LEGO Mindstorms" is excellent and has very useful examples. I may have not gotten (...) (24 years ago, 17-Oct-00, to lugnet.robotics)
|  | | RE: help with NQC
|
| (...) Get a copy of RcxCC by Mark Overmars ((URL) is a great interface for programming NQC and has a tutorial that might have some examples you can use. (...) The main differences are: 1) Functions can have arguments and subroutines not. 2) If you (...) (24 years ago, 17-Oct-00, to lugnet.robotics)
|  | | Re: help with NQC
|
| (...) I thought there were a bunch of them on the NQC homepage - if you can't find them, email me and I'll send you a bunch of NQC programs I've been playing with and whatever examples I havn't "modified to death". (...) Functions are 'inline' code (...) (24 years ago, 18-Oct-00, to lugnet.robotics)
|
4 Messages in This Thread:   
  
  
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|