Skip to Content
ESP8266 Internet of Things Cookbook
book

ESP8266 Internet of Things Cookbook

by Marco Schwartz
April 2017
Intermediate to advanced
268 pages
5h 36m
English
Packt Publishing
Content preview from ESP8266 Internet of Things Cookbook

Conventions

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: "We will configure pin 5 as an input and then read it using the digitalRead() function and display the state of the input signal on the serial monitor."

A block of code is set as follows:

// LED pin int inputPin = 5; int val = 0; void setup() { Serial.begin(9600); pinMode(inputPin, INPUT); } void loop() { // read pin val = digitalRead(inputPin); // display state of input pin Serial.println(val); ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Internet of Things with ESP8266

Internet of Things with ESP8266

Marco Schwartz
ESP8266 Robotics Projects

ESP8266 Robotics Projects

Pradeeka Seneviratne

Publisher Resources

ISBN: 9781787288102Supplemental Content