May 2020
Intermediate to advanced
262 pages
6h 48m
English
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 pycomimport timepycom.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. ...