Skip to Main Content
The LEGO MINDSTORMS EV3 Laboratory
book

The LEGO MINDSTORMS EV3 Laboratory

by Daniele Benedettelli
October 2013
Intermediate to advanced content levelIntermediate to advanced
432 pages
11h 44m
English
No Starch Press
Content preview from The LEGO MINDSTORMS EV3 Laboratory

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

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Building Smart LEGO MINDSTORMS EV3 Robots

Building Smart LEGO MINDSTORMS EV3 Robots

Kyle Markland

Publisher Resources

ISBN: 9781457185229Errata