BricxCC Help

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
Post Reply
thecallosan
Posts: 5
Joined: 12 Jan 2012, 22:48

BricxCC Help

Post by thecallosan »

I have an RCX 2.0 kit and I'd like to write some navigation routines in Bricx Command Center, but when I try to use motor functions, like SetSpeed, SetPower, or even motor variables like OUT_FULL, I get a compiler error telling me that BricxCC does not recognize "SetSpeed" or "SetPower". What can I do to fix this?

Note: SetSensor works fine.

The computer I'm using for this is running Windows XP, 32-bit, if that matters.
afanofosc
Site Admin
Posts: 1256
Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:

Re: BricxCC Help

Post by afanofosc »

I would love to see your source code, please.

John Hansen
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
thecallosan
Posts: 5
Joined: 12 Jan 2012, 22:48

Re: BricxCC Help

Post by thecallosan »

Wait, I got it. For some reason, the file extension for my source code was .nxc, not .nqc like it should've been.
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 0 guests