Chapter 1. Robots and Programs

If you are already familiar with the subject of robots and the concept of programming, feel free to skip ahead to the more in-depth chapters that start with Chapter 14. But, if you are just starting out with your LEGO Mindstorms NXT robotics kit and are asking yourself questions such as, "How is a robot different from a toaster?" or "Just what is this thing called programming?" then you're in the right place. If terms like conditional statements, nested loops, and variables make your head spin, don't worry—they make my head spin, too.

There is simply no reason that learning to use the Mindstorms NXT robotics kit should cause stress. It's supposed to be fun, right? Building robots and making them do what you want them ...

Get Lego Mindstorms NXT-G Programming Guide, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.