O'Reilly logo

Lego Mindstorms EV3 Essentials by Abid H. Mujtaba

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Sample programs

We will now construct a number of programs in the visual programming language to demonstrate the functionality of the various blocks and how to correctly set them up in sequences.

Multiple segments

We will construct a program with multiple segments. We want the EV3 to say Hello, pause for a little while, say Goodbye (completely, without clipping the sound), and then end. Here is the sequence required:

Multiple segments

For each block, the value in parentheses is the value that you must configure for that block. Setting the sound block to the value 2 makes it play the Goodbye clip and setting clock to 5.0 makes it wait for 5 seconds. Wait blocks are italicized. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required