Add Libraries To Arduino

I place them in the library folder under the arduino folder where my sketches are located for your case it would be C: Users you Documents Arduino libraries waypointClass waypointClass.h and all the other files associated with waypointClass.h in the same directory now save your sketch and restart the arduino editor. Step 1: Open Arduino IDE, click Sketch - Include Library - Add.ZIP Library. Step 2: Find Sensor Kit V2.0 for Arduino Library LiquidCrystalI2C, click Open. Step 3: When you see the highlighted message below, it means you have added the library successfully. Please use the same method to add other libraries then.

Add the library¶ Also there are two ways to add a library to Arduino IDE. 1.Add ZIP Library¶ Since you have downloaded the zip Library, open your Arduino IDE, click on Sketch Include Library Add.ZIP Library. Choose the zip file you just downloaded,and if the library install correct, you will see Library added to your libraries in the. Mar 15, 2020 Open Arduino IDE. Go to Sketches include library Manage Libraries Type library name install Type the name of library and click install. Drawback is only popular libraries can be found by this method.

Introduction: 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.

Step 1: Add Libraries Using Arduino IDE

You can add libraries directly using the Arduino IDE.

Add Libraries To Arduino

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

Step 2: 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

Step 3: Check Libraries That Have Been Added

How To Add Libraries To Arduino Ide

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

Be the First to Share

Recommendations

15 1.3K
SonicSurface: Phased-array for Levitation, Mid-air Tactile Feedback and Target Directional Speakers in Electronics
Bo Peep's Skunk Mobile - Remote Control Plushy in Toys & Games
DIY 3D-Printed Soldering Fume Extractor in Electronics
  • Make it Fly Challenge

  • Summer Fun: Student Design Challenge

  • Maps Challenge

edit

Here we will show you how to install an Arduino library. You should notice that almost all of our library was stored at Github. We will provide Arduino library when a product need a library. For some simple product, there is no need to write a library such as Grove - Button.

Download the Library¶

There are two ways to download a Arduino library.

1.Download in the product page¶

Normally, if a product needs a library, you will find a download library button bar like this below:

Click on the button to start downloading. Seconds you will get a package.

2.Download from github¶

If you need to download from a Github page, then you can click on the Clone or download >Download ZIP button to get the library package.

Add the library¶

Also there are two ways to add a library to Arduino IDE.

Arduino

1.Add ZIP Library¶

Since you have downloaded the zip Library, open your Arduino IDE, click on Sketch > Include Library > Add .ZIP Library.

Choose the zip file you just downloaded,and if the library install correct, you will see Library added to your libraries in the notice window. Which means the library is installed successfully.

How To Add Arduino Libraries

2.Add Library folder manually¶

Sometimes you can not add a ZIP library correctly, because the root folder of the Zip Library lacks of .cpp or .h file, the Arduino can not recognize. Then you can Unzip the zip file and copy the Library folder into the following path ...Arduinolibraries. ....** is the path you setup Arduino. In my case is **D:WorkworkSoftwareArduinolibraries.

Check¶

Then let's check if the library install correctly.

When you add a library successfully, there will be a demo in the Example. In this case, click on File > Example > OLED_Display_96x96-master > OLED_Hello_World to open an example, click on the Verify button, if there's no error, congratulation, the library is installed perfectly.

Tech Support¶

How To Add Libraries To Arduino From Github

Please submit any technical issue into our forum.