Writing Efficient NXT-G Programs
Writing Efficient NXT-G Programs
Writing Efficient NXT-G Programs
Introduction
The NXT-G programming language that is the core of the LEGO MINDSTORMS Education NXT Software makes building complex programs quick and easy. Complex programs can be built by combining simpler blocks. Each program you build and then download to the NXT Intelligent Brick becomes a file directly accessible from the NXT brick menu. However, complex programs can quickly fill the limited flash memory available on the brick. This guide describes techniques you can use to write efficient programs for creating complex behaviors with a minimum use of flash memory. These guidelines are particularly relevant to NXT competitions, such as FIRST LEGO League, in which competitors often download several complex programs to a single NXT brick.
Prepared by National Instruments and the LEGO Group. (C) Copyright 2006. Version 1.1 (2006-09-27)