Conventions used
There are a number of text conventions used throughout this book.
Code in text
: 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: “Utilizing build_flags
in this context offers several benefits.”
A block of code is set as follows:
1. [env:esp32-c3-devkitc-02] 2. platform = espressif32 3. board = esp32-c3-devkitc-02 4. framework = arduino 5. monitor_filters = esp32_exception_decoder, colorize 6. monitor_speed = 115200 7. build_src_filter = +<../../src/> +<./> 8. board_build.flash_mode = dio 9. build_flags = 10. -DARDUINO_USB_MODE=1 11. -DARDUINO_USB_CDC_ON_BOOT=1 12. -w 13. lib_deps = 14. adafruit/DHT sensor library@^1.4.6 15. adafruit/Adafruit Unified Sensor@^1.1.14
Any command-line input or output is written as follows:
pio platform install espressif32
Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “The ESP32 will reboot and you can locate the Serial Monitor button.”
Tips or important notes
Appear like this.