How to Add an External Library to Arduino
by MrSottong in Circuits > Arduino
7475 Views, 1 Favorites, 0 Comments
How to Add an External Library to Arduino
The library provides additional functions for the sketch we made. These functions can help us make sketches easier.
There are many libraries that we can use. Arduino IDE's default library or external library created by someone or a community.
In this article I will show you how to add an external library.
Add Libraries Using Arduino IDE
You can add libraries directly using the Arduino IDE.
1. Click Sketch > Include Library > Manage libraries ( You can use the shortcut Ctrl + Shift + l )
2. Write library in the search tab.
3. Click install and wait until the process is complete
4. When it's finished, it will say "INSTALLED" in the title
Add Library Using Zip File
You can search for external libraries on the Internet. Many websites provide external libraries in the form of Zip. I suggest looking for Libray on Github, because there are many people or communities that share libraries that they create.
How to add a zip file:
1. Click Sketch > Include Library > Add .Zip Library.
2. Select the zip file that has been downloaded, Then Click Open.
3. After successfully adding, close the Arduino IDE then reopen it
Check Libraries That Have Been Added
1. Click Sketch > Include Library > scroll down
2. Look in the contributed library.
3. Successfully added libraries can be seen here.
thank you for reading, see you in the next article