Subject:
|
Re: Happy new year!!!
|
Newsgroups:
|
lugnet.robotics.rcx.nqc
|
Date:
|
Sun, 4 Jan 2004 13:25:42 GMT
|
Viewed:
|
4636 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
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 ?
thanks,
Stef Mientki
|
|
Message has 1 Reply: ![](/news/x.gif) | | 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 (...) (20 years ago, 4-Jan-04, to lugnet.robotics.rcx.nqc)
|
Message is in Reply To:
![](/news/x.gif) | | Happy new year!!!
|
| Happy new year for everybody! I started making this program at 11:00 pm on December 31st. Incredibly, I could finish it for 12:00 to use it. It simulates fireworks sound using the RCX speaker. It uses lots of Random(n) calls to make the sound (...) (20 years ago, 4-Jan-04, to lugnet.robotics.rcx.nqc)
|
5 Messages in This Thread: ![Happy new year!!! -Nicolas Alvarez (4-Jan-04 to lugnet.robotics.rcx.nqc)](/news/x.gif) ![](/news/246.gif) ![Re: Happy new year!!! -Bapt Denaeyer (4-Jan-04 to lugnet.robotics.rcx.nqc)](/news/x.gif)
![](/news/x.gif) ![](/news/68.gif) ![You are here](/news/here.gif) ![](/news/46.gif) ![Re: Happy new year!!! -Dave Baum (4-Jan-04 to lugnet.robotics.rcx.nqc)](/news/x.gif) ![](/news/46.gif) ![Re: Happy new year!!! -Stef Mientki (6-Jan-04 to lugnet.robotics.rcx.nqc)](/news/x.gif)
- 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
|
|
|
|