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

learn more… | top users | synonyms

1
vote
2answers
77 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
1answer
64 views

Connection between two NXT bricks

It's possible send information from BrickNXT_A to BrickNXTB_B? For example I have a touch sensor connected with IN_1 of Brick_A and I want send the result of of sentor status (1 or 0) to the Brick_B. ...
6
votes
0answers
216 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: # ...
5
votes
0answers
58 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 ...