Chapter 8. data wires
In this chapter, you’ll learn how to use data wires to pass information from one block to another. Using data wires, you can change a block’s settings while a program is running (by using data from a new sensor reading, for example). Data wires are one of the most powerful EV3 programming features, and learning how to use them will open up many more possibilities for your programs.
I’ll begin with a simple example to show you what a data wire is and how it works. We’ll then spend the rest of the chapter developing a more complex program that turns the TriBot into a sound generator. Along the way, I’ll cover all the basic concepts you need to successfully use data wires in your own programs. I’ll also introduce some new blocks ...
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.
Read now
Unlock full access