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: “The WiFi.softAP() function is used to set up the ESP32 as an access point.”
A block of code is set as follows:
#include <WiFi.h>
const char* ssid = "MyESP32AP";
const char* password = "password123";
void setup() {
Serial.begin(115200);
WiFi.softAP(ssid, password);
IPAddress apIP(192, 168, 4, 1);
IPAddress subnet(255, 255, 255, 0);
WiFi.softAPConfig(apIP, apIP, subnet);
Serial.print("Access Point IP Address: ");
Serial.println(WiFi.softAPIP());
}
void loop() {
// Your code goes here
}
Bold: Indicates a new term, an important word, or words that you see on screen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “Now, you can upload the code using Arduino IDE and open Serial Monitor."
Tips or important notes
Appear like this.