NXT Information |
NXT Power Programming 2nd Edition is available now! |
Download the latest version or a recent test release of BricxCC with full support for the new NXT brick! And download a release of a command line compiler for the Next Byte Codes (NBC) programming language which lets you write programs for the NXT brick in a text-based assembly language.
Check out Not eXactly C! Not eXactly C (NXC) is a high-level C-like programming language for the NXT programmable brick which is built on top of NBC. If you get the latest release of NBC then you can also program the NXT using NXC. NXC is designed to be very similar to NQC so that learning to use this new language should be easy if you already know NQC. Version 3.3.7.16 of BricxCC or greater is required if you want to program using NXC. You can also find help for the NXC API functions on the NBC page. A compiled HTML help file is also available from the NXC Docs page. There are viewers available for the compiled help format for linux and Mac OS X, such as chmox and iChm.
To take advantage of multi-dimensional array support, native shift and math.h operations, and many other powerful new features and important bug fixes be sure to download the enhanced NBC/NXC firmware and install it on your NXT using the Download Firmware tool in BricxCC. You can also download the enhanced NBC/NXC firmware source code if you want.
Communication with the NXT requires that the Mindstorms NXT Driver v1.02 or newer is installed. The zip can be found on the MINDSTORMS Update page. If you have any difficulties communicating with your NXT you may not have the Fantom drivers installed properly. See the NXT Fantom Driver Help document for assistance.