Chapter 19. Basic Text

For a chapter dealing with words, this one won't be too wordy. See, it even has a short introduction. You're going to learn to use the TEXT block to give your robot the ability to combine text into sentences and letters into words.

The TEXT Block

Mindstorms NXT robots can make a lot of noise using the SOUND block. However, if you want to give your robots control over the written word, you'll need to understand the TEXT block and how to use it properly (see Figure 19-1).

The TEXT block and its configuration panel

Figure 19-1. The TEXT block and its configuration panel

Here's another programming word for you to add to your list: string (and I don't mean the kind you use ...

Get Lego Mindstorms NXT-G Programming Guide, Second Edition 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.