Chapter 14
Tips and Tricks
The previous chapter covered programming pitfalls but it is equally helpful to have several tips and tricks, especially for competitions. These techniques can assist you with programming and debugging, as well as moving within the NXT-G environment.
Understand Your Program Flow
Understanding how an NXT-G program works with respect to the NXT brick is very important. Program flow is the way that a program runs on your NXT, including any delays or changes. Normally, you read (and the NXT executes) an NXT-G program from left to right, following the onscreen technic beam. Understanding each block on the beam is very important. One of the first secrets you learned in programming is that Move Unlimited does not do what ...
Get Winning LEGO MINDSTORMS Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.