There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "The code for taking axial and radial turns is added to the RobotMovement.cpp program."
A block of code is set as follows:
digitalWrite(0,HIGH); //PIN O & 2 will STOP the Left Motor digitalWrite(2,HIGH); digitalWrite(3,HIGH); //PIN 3 & 4 will STOP the Right Motor digitalWrite(4,HIGH); delay(3000);
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
digitalWrite(0,HIGH); //PIN O & 2 will STOP the Left Motor digitalWrite(2,HIGH); digitalWrite(3,HIGH); //PIN 3 & 4 will STOP the Right Motor digitalWrite(4,HIGH); delay(3000);
Any command-line input or output is written as follows:
sudo nano /boot/config.txt
Bold: Indicates a new term, an important word, or words that you see on screen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Select the Remember password option and press OK."