10

using data hubs and data wires

In this third part of the book, you’ll learn how to use data hubs and data wires to create more advanced programs for your robots. For example, you’ll use data hubs and data wires to create programs that display sensor readings on the screen (Chapter 10), do mathematics with the NXT (Chapter 11), or remember things such as high scores of games (Chapter 12).

In earlier chapters you configured each programming block by entering the desired settings in the Configuration Panel. One of the fundamental concepts in this chapter is that blocks can configure each other. For example, one block can instruct a Motor block to run a motor at a certain power level. Blocks transfer information such as the power level using ...

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.