Chapter 14. using data wires

In this fifth part of the book, you’ll learn how to use data wires (this chapter), Data Operations blocks (Chapter 15), and variables (Chapter 16) to create more advanced programs for your robots. Chapter 17 demonstrates how you can combine these techniques to create a larger program that lets you play an Etch-A-Sketch-like game on the EV3 brick. You’ll do all this with a robot called SK3TCHBOT, shown in Figure 14-1.

In earlier chapters, you configured programming blocks by entering the desired settings of each block manually. One of the fundamental concepts in this chapter is that blocks can configure each other by sending information from one block to another with a data wire. For example, one block can measure the ...

Get The LEGO MINDSTORMS EV3 Discovery Book (Full Color) 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.