Arduino Libraries

Libraries are reusable programs that serve a specific function. Usually, libraries are written for tasks to be performed by almost all application programs so that every application programmer does not have to rewrite the same code. Libraries are usually handy, especially for tasks that involve interfacing with the computer hardware, and since these tasks are not only used by almost every application but also they are complex to program.

Most devices (sensors, displays, communication modules) that connect to an Arduino board come with their libraries, making it easy to write your Arduino sketch that uses the device's functionality. The IDE has many built-in libraries, but you may need to install additional libraries for some components.