O'Reilly logo

The LEGO MINDSTORMS NXT 2.0 Discovery Book by Laurens Valk

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required