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 ...
Get The Art of LEGO MINDSTORMS NXT-G Programming 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.