{ "@context": "https://schema.org", "@type": "WebPage", "@id": "/posts/how-to-write-efficient-nxt-g-programs", "name": "How to Write Efficient NXT-G Programs", "description": "Write NXT-G programs that create complex behaviors with minimal memory. Useful for FIRST LEGO League and RoboCup Junior teams. Get the PDF guide and tips.", "url": "/posts/how-to-write-efficient-nxt-g-programs", "inLanguage": "en", "mainEntity": { "@type": "Article", "headline": "How to Write Efficient NXT-G Programs", "description": "Write NXT-G programs that create complex behaviors with minimal memory. Useful for FIRST LEGO League and RoboCup Junior teams. Get the PDF guide and tips.", "image": "https://cdn.prod.website-files.com/65b933e10656d98773dd067c/6739ec5a58bce66fed2d3341_Screen-Shot-2013-08-16-at-9.06.00-PM.avif", "datePublished": "2013-08-17", "author": { "@type": "Person", "name": "" } }, "breadcrumb": { "@type": "BreadcrumbList", "itemListElement": [ {"@type": "ListItem", "position": 1, "name": "Home", "item": "/"}, {"@type": "ListItem", "position": 2, "name": "Articles", "item": "/articles"}, {"@type": "ListItem", "position": 3, "name": "How to Write Efficient NXT-G Programs", "item": "/posts/how-to-write-efficient-nxt-g-programs"} ] } }

Are we missing anything?
Let us know!

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

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 ArrowUp Arrow