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

Chapter 13. my blocks

A My Block is a block that you create from other blocks. In this chapter, you’ll learn how to create My Blocks and how to use them in your programs. I’ll walk you through the process of building three My Blocks, progressing from a very simple one that plays a chime to a more complex one that displays a number with a label. Along the way, you’ll learn all you need to know to create your own blocks. You’ll also learn how to keep your blocks organized and how to share them with other NXT users.

building bigger blocks

Creating a My Block is an easy way to group together and reuse a collection of blocks. By now you may have noticed that an NXT-G program can quickly become very large. Seemingly simple tasks, such as displaying a ...

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