Subject:
|
Re: sensor defined variable
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Wed, 13 Apr 2005 20:58:05 GMT
|
Viewed:
|
1444 times
|
| |
| |
In lugnet.robotics, roc j de cisneros wrote:
> i did it with MacNQC and it's working perfect now
> the weird thing is that just after firmware downloading, i tried to
> dload the PlayTone(SENSOR_1*10,5); program, and i still got the error.
> i tried it with macnqc and no problem at all. well, it works.
> thanks a lot!
> r
As I mentioned earlier (http://news.lugnet.com/robotics/?n=23877) you need to
specify the -TRCX2 switch on the NQC command line:
nqc -TRCX2 -Susb -d program.nqc
GUIs such as MacNQC or BricxCC have configuration options which let you pick
your target and then they pass that information along to the compiler as you see
in the example above.
If you are downloading firmware you don't need to specify the target (via the -T
switch) since you aren't compiling anything. Downloading a program, however,
requires compilation of the program and that is target-specific. The default
target is RCX.
John Hansen
|
|
Message is in Reply To:
| | Re: sensor defined variable
|
| i did it with MacNQC and it's working perfect now the weird thing is that just after firmware downloading, i tried to dload the PlayTone(SENSOR_1*10,5); program, and i still got the error. i tried it with macnqc and no problem at all. well, it (...) (20 years ago, 13-Apr-05, to lugnet.robotics)
|
8 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|