O'Reilly logo

Basic Robot Building With LEGO Mindstorms NXT 2.0 by John Baichtal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

4. Introduction to Programming

In Chapter 1, “Project: Backscratcher Bot,” you learned how to use the NXT brick’s on-board programming tool to make the Backscratcher Bot’s motor turn. Now we’re going to learn how to program the robot properly, using NXT-G, the software that comes with the Mindstorms set. Figure 4.1 shows the NXT-G welcome screen.

Image

Figure 4.1. The welcome screen of the Mindstorms software.

Note: This Is a Primer

This chapter is a primer that introduces you to the basic Mindstorms programming environment. We don’t get into much in the way of hands-on programming here, although we do get into the specifics within each of the project ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required