How to write efficient NXT-G programs

Screen Shot 2013-08-16 at 9.06.00 PMWriting Efficient NXT-G Programs (PDF) describes how to make your NXT-G programs as efficient as possible to create complex behaviours with a minimum of memory. These techniques are particularly relevant for competitions such as FIRST LEGO League (FLL) and RoboCup Junior, in which competitors often download several complex programs onto a single NXT brick.

The techniques include:

  • Maximize free space
  • Reuse code
  • Loops and My Blocks
  • Combine multiple programs
  • Minimize use of Sound and Display blocks
  • Use Numbers or Logic values instead of Text

This document was prepared by National Instruments and the LEGO Group. (C) Copyright 2006. Version 1.1 (2006-09-27)

ย 

The following two tabs change content below.
CEEO

CEEO

The Tufts Center for Engineering Education and Outreach (CEEO) in Boston, Massachusetts, is dedicated to improving engineering education in the classroom, from Kindergarten to college. The Center houses faculty, staff, and graduate students from engineering disciplines and the education department.
CEEO

Latest posts by CEEO (see all)