Subject:
|
Re: Happy new year!!!
|
Newsgroups:
|
lugnet.robotics.rcx.nqc
|
Date:
|
Tue, 6 Jan 2004 17:48:48 GMT
|
Viewed:
|
5000 times
|
| |
| |
Dave Baum wrote:
> In article <HqyvyI.21su@lugnet.com>,
> Stef Mientki <s.mientki@mailbox.kun.nl> wrote:
>
>
> > Nicolas Alvarez wrote:
> >
> > > Happy new year for everybody!
> >
> >
> > thanks, at the same from me,
> >
> > > PlayTone(freq, 3);
> >
> > Maybe a stupid question,
> > (haven't used NQC for a while),
> > but can anyone tell me,
> > why is my NQC compiler complaining that freq should be a constant ?
>
>
> RCX 1.0 (the default target for NQC) doesn't support variable
> frequencies. If you instruct NQC to generate code for RCX 2.0 (using
> the -Trcx2 option on the command line) then it should stop complaining.
> Of course, in order for the program to run you'll need to make sure you
> are using 2.0 firmware in your RCX.
>
> Dave
Thanks Dave,
it works now !
Stef Mientki
|
|
Message is in Reply To:
| | Re: Happy new year!!!
|
| (...) RCX 1.0 (the default target for NQC) doesn't support variable frequencies. If you instruct NQC to generate code for RCX 2.0 (using the -Trcx2 option on the command line) then it should stop complaining. Of course, in order for the program to (...) (21 years ago, 4-Jan-04, to lugnet.robotics.rcx.nqc)
|
5 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|