Working with third-party Arduino libraries
By now you have a good understanding of the purpose and structure of Arduino libraries. They are typically a header file and a source file, and sometimes a folder with examples and a file with meta info about the library that needs to be placed in your libraries
folder.
Adding library files manually
There are several ways to use third-party libraries in your project. The most straightforward way is to do the same as what you did with your own library. Once you download all the files of the library, place them in a subfolder with the name of your library within your libraries
folder, and after the next start of your Arduino IDE, you will be able to use the library and all the examples that come with it.
Using the IDE’s Library Manager
An easier way to install libraries is through the Arduino IDE’s built-in Library Manager. All official Arduino libraries and many major third-party libraries are available through this...