Conventions

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

Code words in text are shown as follows: "The following piece of code shows two functions setGPIO(int number, int direction) and getGPIO(int number)."

A block of code is set as follows:

float readTemperature(){
  int register_address = 0x4600;
  return getTemperature(register_address);
}

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

float readTemperature(){
  int register_address = 0x4600;
return getTemperature(register_address);
}

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

$ cp /usr/src/asterisk-addons/configs/cdr_mysql.conf.sample
     /etc/asterisk/cdr_mysql.conf

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Now we can click on the Fibaro Wall Plug item on the list to switch it on or off from our smartphone."

URLs in the text are shown as follows: https://www.packtpub.com

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