NXC: C Language for Mindstorms NXT

Technology
NXC: C Language for Mindstorms NXT

Mindstorms NXT
It looks like a lot of work has been done in the last month toward building a C-like programming environment for the Mindstorms NXT brick. While ditching the graphical programming environment isn’t the best thing for everyone, if you’ve used NQC for the original Mindstorms, you know how many hacking opportunities it exposed, even with it using the same underlying firmware. And frankly, for a lot of us, C is just a more comfortable programming language.

Not eXactly C (NXC) is a high level language, similar to C, built on top of the NBC compiler. It can also be used to program the NXT brick. NXC is basically NQC for the NXT. If you are just getting started with programming, then graphical environments such as the Mindstorms NXT software or Robolab may be better choices for you. If, however, you’re a programmer and you prefer typing a few lines to drag and drop icon programming, then either NBC or NXC may be perfect for you.

There’s a math library available for download and it now supports multi-threaded apps. If you need to go lower-level, you can use the NBC assembly-like compiler that NXC is built on top of. It’ll even let you check the battery level in code, which is currently impossible with the LEGO software. Check it out and shoot us some NXT programming ideas in the comments!

3 thoughts on “NXC: C Language for Mindstorms NXT

  1. tom.hoffman says:

    My friend Guy and I explored the microwave as sterilizer idea as our big high school bio scientific method experiment. We felt our experimental design was flawed, because we ended up boiling the agar the bacteria was living on, thus we didn’t know whether heat or microwaves had killed them. We did confirm that boiled agar does not smell good. Incidentally, Guy now has a Ph.D. in biology.

  2. Sysadmn says:

    Grapes. Pictures at c3po.barnesos.net/homepage/lpl/grapeplasma

    It doesn’t have to be as elaborate as he describes. Cut a grape almost all the way in half, leaving a small skin bridge between the halves. Put it in the microwave, cut side up. Microwave for about 1 minute.

Comments are closed.

Discuss this article with the rest of the community on our Discord server!
Tagged

ADVERTISEMENT

Ready to dive into the realm of hands-on innovation? This collection serves as your passport to an exhilarating journey of cutting-edge tinkering and technological marvels, encompassing 15 indispensable books tailored for budding creators.

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).

FEEDBACK