Data Sheet

12
Add Libraries and Open Serial Monitor
Add Libraries
Libraries are a collection of code that makes it easy for you to connect to a sensor, display,
module, etc. For example, the built-in LiquidCrystal library makes it easy to talk to character
LCD displays. Libraries provide extra functionality for use in sketches, e.g. working with
hardware or manipulating data. There are hundreds of additional libraries available on the
Internet for download. To use the additional libraries, you will need to install them.
To install the library, first exit the Arduino IDE. Then unzip the ZIP file of the library (download
from the GitHub link). Copy the library file into your libraries folder (This PC\ Documents\
Arduino\ libraries\). Next, restart the Arduino IDE, you will find the library appears in the
Sketch->include library shown in Figure 3.
There may be more files excluding the .cpp and .h files in the library folder, make sure
they're all there. The library won't work if you put the .cpp and .h files directly into the
libraries folder or if they're nested in an extra folder.
Figure 3 Include library