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)

 

Related posts

Add a comment

You must be logged in to comment.