Using libraries on the ESP8266

In this recipe, we will learn how to use libraries with the ESP8266. The libraries will play a huge role in enabling us to access additional functions on our board. Apart from the Arduino core libraries that come with the Arduino IDE by default, we will need other libraries to explore the full potential of the ESP8266.

There are some ESP8266 libraries that get installed on the Arduino IDE automatically when you install the ESP8266 core, as explained in the first recipe of Chapter 1, Configuring the ESP8266. If you followed the instructions in Chapter 1, Configuring the ESP8266, you should already have those libraries on your Arduino IDE.

Some third-party ESP8266 libraries do not come with the ESP8266 core and you have ...

Get ESP8266 Internet of Things Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.