Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text, folder names, filenames, file extensions, pathnames, and user input are shown as follows: "The program starts in the main() method of the LineFollower class."

A block of code is set as follows:

public Controller(Port sensor_port, Port left_port, Port right_port)
   {
        log("Initializing Controller");

        sensor = new ColorSensor(sensor_port);
        drive = new DifferentialDrive(left_port, right_port);
   }

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

{
    Delay.msDelay(1500);

    log("On Path: " + sensor.onPath());
}

Any command-line input or output is written as follows:

ifconfig bnep0 10.0.1.2

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "The LCD screen will first display Mindstorms Starting… and then will shift to LeJOS EV3 Starting."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.104.29