O'Reilly logo

Building Smart LEGO MINDSTORMS EV3 Robots by Kyle Markland

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

Importing/exporting MyBlocks

The first MyBlock we need is steerCenter; we created this MyBlock in the last chapter. Fortunately, we can use the EV3 software's MyBlock import/export feature to save some time and avoid rewriting the MyBlock. This tool allows you to export a MyBlock from one EV3 project to a destination on your computer, then import the MyBlock into another EV3 project. This will allow us to copy the MyBlocks we wrote for the Falcon and use them for the GPS Car.

Follow these steps to copy a MyBlock from one EV3 project file to use it in another project:

  1. Open the project that contains the MyBlock you wish to reuse. For this chapter, we are copying the steerCenter MyBlock from the Falcon project, so open the Falcon's EV3 project ...

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