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 O’Reilly online learning.

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