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 3. programming

To bring a robot to life, you need to tell it what to do by writing a computer program for it. A program is a step-by-step list of basic instructions designed to produce a result. These instructions are written in a programming language, an artificial language that a computer can understand.

For example, the instruction “prepare some tea” on its own would not be sufficient for a robotic butler. This would be considered a high-level instruction for that robot, meaning that it would need to be broken down into a sequence of lower-level instructions to actually control the robot.

The high-level instruction “prepare some tea” can be broken down into a list of well-defined, discrete, elemental steps like these:

  • Pick up a pot.

  • Fill ...

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