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, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "Let's take a look at the main(String args[]) method."
A block of code is set as follows:
/**
* Run the LCD example.
*/
public final void runExample(){
/// Clear the display
handler.clear();
/// Cursor to home position (0,0)
handler.setHome();
/// Write to the first line.
handler.write("-- RASPI3JAVA --");
/// Create a time format for output
SimpleDateFormat formatter = new SimpleDateFor-
mat("HH:mm:ss");
/// Sets the cursor on the second line at the first posi-
tion.
handler.setCursor(1, 0);
/// Write the current time in the set format.
handler.write("--- " + formatter.format(new Date()) + " ---");
}
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: "In the top of the window there are a set of buttons present which when started has the Welcome button selected. On the same level there is a Breadboard button."
Warnings or important notes appear in a box like this.
Tips and tricks appear like this.