O'Reilly logo

The LEGO MINDSTORMS EV3 Laboratory by Daniele Benedettelli

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

Chapter 14. programming the SENTIN3L

In this chapter, you’ll program the SENTIN3L, which you built in Chapter 13. The first program will simply make the robot patrol and shoot at objects that are in its way. Once you’ve mastered that, we’ll make a program to record a sequence of actions at runtime by showing the robot the colored sides of the COLOR CUB3 from Chapter 13. The final program will also allow you to program the robot at runtime, but it will permanently save the recorded sequence to a file for later retrieval, even once the program has terminated or the EV3 Brick reboots.

the file access block

To create, write, read, and delete files in the EV3 Brick’s memory, we’ll use the File Access block, found in the Advanced palette (blue header). ...

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