Trending

How to install Library in Arduino IDE


There are two ways to install a Library

Using Arduino IDE

  1. Click on Sketch –> Include Libraries –> Manage Libraries…
  2. In text box type required library
  3. Select Latest Version of the library (You can select older version also). Click Install.
  4. To open library related example, Click on File –> Examples –> Find Example at ending.
Screenshot (16)
Screenshot (17)Screenshot (18)Screenshot (19)Screenshot (20)Screenshot (21)

Using Zip File

  1. Extract zip file 
  2. If you open a zip and it has a files of extension .ccp and .h , place it in folder then place in Arduino_installation_directory/libraries/<paste here>
  3. If zip contains a folder, .cpp and .h file in it, extract it right away without placing it in the folder.

2 comments: