| | Error Message Lee Wilson
|
| | Hi. Can anyone help me with a problem I'm having. I'm writing a fairly simple program in NQC and when I compile I get an error saying "undefined variable SENSOR_LIGHT" The line that generates this error is simply: SetSensor(SENSOR_1, SENSOR_LIGHT); (...) (23 years ago, 4-Apr-02, to lugnet.robotics.rcx.nqc)
|
| | |
| | | | Re: Error Message Dave Baum
|
| | | | The only thing I could think of is if NQC thinks you are generating code for some other device (e.g. CyberMaster). Try adding -Trcx2 to the command line to force NQC to target RCX2. If that doesn't fix it, email me the program and I'll take a look. (...) (23 years ago, 7-Apr-02, to lugnet.robotics.rcx.nqc)
|
| | | | |
| | | | Re: Error Message John Hansen
|
| | | | (...) I don't know if you are using BricxCC or not, but I get a single error when I try to compile this line of code if the target is set to Scout or Cybermaster. If I turn on the NQC 1.x compatibility mode via the Preferences dialog I get two (...) (23 years ago, 9-Apr-02, to lugnet.robotics.rcx.nqc)
|
| | | | |