Chapter 15. using data operations blocks and my blocks with data wires
Now that you know how data wires work, you can do some really interesting things with more of the programming blocks. For example, you can make the EV3 combine and process sensor values so that they can be used as input values for other actions. With the tricks you learn in this chapter, you’ll be able to program your robot to choose a random action or do something only when two sensors are triggered at the same time, rather than performing strictly preprogrammed actions.
You’ll learn in this chapter how to use the Math block to allow your robots to make calculations you can use in your programs. For example, the robot can calculate the distance it should travel based on a sensor ...
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.