NXC: C Language for 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!
- NXC: Not eXactly C - for Mindstorms NXT (as well as NBC)
- NQC: Not Quite C - for the original LEGO Mindstorms
Posted by Jason Striegel |
Feb 1, 2007 07:31 PM
LEGO |
Permalink
| Comments (1)
Recent Entries
- Poromenos' hello world curve
- USB CapsLocker and Sun keyboard simulation
- Robosapien has a coil gun
- Faster Windows shutdown
- Assign USB drives to a folder
- Little drummer bot
- CSS ad blocking for Firefox and Safari
- Design Coding: web standards rap
- Shredz64: Guitar Hero for C64
- BATMAN: adhoc mesh routing
Comments
Newest comments listed first.
| Posted by: Prussian7 on February 3, 2007 at 1:01 AM |
I think I will stick with FORTH Programming Language for this toy...
http://www.hempeldesigngroup.com/lego/pbForth/overview.html
Still it is cool.
Bloggers
Welcome to the Hacks Blog!
Categories
- Ajax
- Amazon
- AppleTV
- Astronomy
- BlackBerry
- Blogging
- Body
- Cars
- Cryptography
- Data
- Education
- Electronics
- Energy
- Events
- Excel
- Excerpts
- Firefox
- Flash
- Flickr
- Flying Things
- Food
- Gaming
- Gmail
- Google Earth
- Google Maps
- Government
- Greasemonkey
- Hacks Series
- Hackszine Podcast
- Halo
- Hardware
- Home
- Home Theater
- iPhone
- iPod
- IRC
- iTunes
- Java
- Kindle
- Knoppix
- Language
- LEGO
- Life
- Lifehacker
- Linux
- Linux Desktop
- Linux Multimedia
- Linux Server
- Mac
- Mapping
- Math
- Microsoft Office
- Mind
- Mind Performance
- Mobile Phones
- Music
- MySpace
- MySQL
- NetFlix
- Network Security
- olpc
- OpenOffice
- Outdoor
- Parenting
- PDAs
- Perl
- Philosophy
- Photography
- PHP
- Pleo
- Podcast
- Podcasting
- Productivity
- PSP
- Retro Computing
- Retro Gaming
- Science
- Screencasts
- Shopping
- Skype
- Smart Home
- Software Engineering
- Sports
- SQL
- Statistics
- Survival
- TiVo
- Transportation
- Travel
- Ubuntu
- Video
- Virtualization
- Visual Studio
- VoIP
- Web
- Web Site Measurement
- Windows
- Windows Server
- Wireless
- Word
- World
- Xbox
- Yahoo!
- YouTube
Archives
Recent Posts
- Poromenos' hello world curve
- USB CapsLocker and Sun keyboard simulation
- Robosapien has a coil gun
- Faster Windows shutdown
- Assign USB drives to a folder
- Little drummer bot
- CSS ad blocking for Firefox and Safari
- Design Coding: web standards rap
- Shredz64: Guitar Hero for C64
- BATMAN: adhoc mesh routing
www.flickr.com
|





Leave a comment