4

working with programming blocks: move, sound, and display

In Chapter 3, you learned the basics of how to create a new program and transfer it to the Explorer robot. You also learned that the programs you make are collections of programming blocks, which are instructions that tell the robot what to do. In this chapter, you’ll learn more about these programming blocks and how to use them to make working programs.

You’ll begin by learning more about how to make the Explorer move as you explore NXT programming in more detail. You’ll also learn how to make the robot “talk” and display text or images on the NXT screen. As you practice with the sample programs in this chapter, you’ll be challenged to solve some programming puzzles by yourself!

what ...

Get The LEGO MINDSTORMS NXT 2.0 Discovery Book 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.