How to Write Efficient NXT-G Programs

Aug 2013
Screen Shot 2013-08-16 at 9.06.00 PM

Writing 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)

Writing efficient NXT-G programs Download

Related Articles

Up Arrow
FEEDBACK
Up Arrow