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 ...

Get Basic Robot Building With LEGO Mindstorms NXT 2.0 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.