Not eXactly C, or NXC, is a high-level programming language for the Lego Mindstorms NXT.

learn more… | top users | synonyms

1
vote
2answers
106 views

How to turn the NXT at an angle with NXC

How can I program, with NXC, a Lego NXT to turn a specific angle? I've tried using wait() but the problem isn't solved. Can I use RotateMotor()? What parameters should I use? For example if I want ...
0
votes
2answers
66 views

Programming NXT color sensor with NXC?

I am programing Lego Mindstorms NXT 2.0 color sensor in BricxCC. I already have RGB data with the command ReadSensorColorRaw. I heard that it is easier to get the colour from HSL format. I've tried a ...
5
votes
1answer
61 views

Accessing ARM Processor Memory Registers through NXC

Specific to the NXC (Not eXactly C) programming language. Is it possible to access the memory registers on the ARM AT91SAM7S256 processor? I'm trying to investigate the use of Timer Interrupts to ...
7
votes
0answers
220 views

PosRegEnable - How to change motor parameters?

I want to set PID parameters for a faster 'attack' when using PosRegEnablePID() on a motor. I am compiling with nbc/nxc 1.2.1 r4 mac osx fatbinary using -Z2 and -EF flags. But the compiler says: # ...