Adding a Library to Arduino
Sometimes extra instructions are needed for the program to function. This can require adding a library to Arduino.
Example – Temperature sensor and the One Wire Library
In order to use the temperature sensor (DS18B20) you will need to use the OneWire library. If this is not already on the computer you can find it here:
https://github.com/PaulStoffregen/OneWire

Click the green “Clone or download” button. This will save the OneWire library as a zip file in your download folder on your computer.
You can then add the library to Arduino by following the drop down menu
sketch> include library> add zip library
Once you have added the OneWire library, it will appear in the contributed library list.

Many libraries are already included in the Arduino IDE software, if additional libraries are required they can usually be found online and added in the same way as the OneWire library.
