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). ...

Get The LEGO MINDSTORMS EV3 Laboratory 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.