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

learn more… | top users | synonyms

1
vote
1answer
129 views

Does NXC work with EV3?

Is it possible to create and run NXC programs on the EV3 brick? I installed BrixcCC, created a simple Hello World NXC program and selected "Download and Run" in the Compile menu. The EV3 brick made ...
5
votes
0answers
191 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: # ...
3
votes
0answers
46 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 ...
1
vote
0answers
64 views

RGB sensor HOWTO use?

I've got an RGB sensor (this one with the three LED thingies) and wonder how to access it using NXC. I know I can SetSensorColorFull(IN_1); and then access it using ReadSensorColorEx or, for ...
1
vote
0answers
122 views

How to locate objects, and move towards them, without pre-programming the path

So I need to find objects in an enclosed area, I have access to the standard set of NXT sensors, i.e. ultrasonic/light. However, the ultrasonic sensors seem to be very unreliable and erratic, in ...