Chapter 12. my blocks
Creating a My Block is an easy way to group together and reuse a collection of blocks. A My Block is a block that you create from other blocks, which you can then use in your programs just like other EV3 programming blocks. This makes programs shorter and easier to read by grouping a sequence of related blocks into a single block.
In this chapter, you’ll learn how to create My Blocks and use them in your programs. I’ll walk you through the process of building some My Blocks, starting with a simple one that plays a chime and moving on 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.
creating a my block
I’ll begin by creating a simple My Block ...