Skip to Main Content
The Art of LEGO MINDSTORMS NXT-G Programming
book

The Art of LEGO MINDSTORMS NXT-G Programming

by Terry Griffin
August 2010
Intermediate to advanced content levelIntermediate to advanced
288 pages
13h 21m
English
No Starch Press
Content preview from The Art of LEGO MINDSTORMS NXT-G Programming

conclusion

Data wires move information between blocks, allowing you to change a block’s settings while your program is running. The programs presented in this chapter have shown you some simple ways to use data wires and introduced some of the blocks that are designed to work with data wires. The Sensor blocks use data wires to make sensor readings available to other blocks in your program. The Math, Number to Text, and Text blocks are used almost exclusively with data wires to transform data or convert between data types.

The next two chapters will show you how to use data wires with the Switch and Loop blocks. You’ll get lots of practice using data wires because you’ll use them extensively for the programs in the remainder of this book.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

The Art of LEGO MINDSTORMS EV3 Programming (Full Color)

The Art of LEGO MINDSTORMS EV3 Programming (Full Color)

Terry Griffin

Publisher Resources

ISBN: 9781593272180Errata