Lego NXT with GCC

Thread Starter

Shagas

Joined May 13, 2013
804
Hello !

I apologise if this has been discussed before but I have not managed to find such a thread so I decided to make one .

I'll be working with the LEGO NXT brick for some project for school.
I would like to use C as the programming language because the in built languages of the NXT are pretty crap and lack control.
I've found a GCC toolchain for this brick on

http://nxtgcc.sourceforge.net/
http://thenxtstep.blogspot.cz/2006/11/gcc-toolchain-for-nxt.html

I'm reading on how it works but not really understanding the principle.

Does anyone have any experience/info on using the nxt with gcc compiler?

How will the language be written ? Are there going to be specific functions for the peripherals ?(light sensor , motor etc) or will I have to write those ?

The NXT brick uses an ARM7 processor and I think an atmega secondary but not sure .

Any info would be appreciated and thanks in advance !
 
Top