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 LoRaMessage class is used to send LoRa messages to the gateway device."
A block of code is set as follows:
import pycom
import time
pycom.heartbeat(False)
while True:
pycom.rgbled(0xFF0000) # Red
time.sleep(1)
pycom.rgbled(0x00FF00) # Green
time.sleep(1)
pycom.rgbled(0x0000FF) # Blue
time.sle
Any command-line input or output is written as follows:
$ sudo apt-get update
$ sudo apt-get install moby-engine
Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Review your instance before clicking on the green + Create New Instance button."
Warnings or important notes appear like this.
Tips and tricks appear like this.