Standard Libraries For Arduino
The Arduino environment can be extended through the use of standard libraries for Arduino, just like most programming platforms. Libraries provide extra functionality for use in sketches, e.g. working with hardware or manipulating data.
To use a library in a sketch, select it from Sketch > Import Library.
A number of libraries come installed with the IDE, but you can also download or create your own. See these instructions for details on installing libraries. There’s also a tutorial on writing your own libraries. See the API Style Guide for information on making a good Arduino-style API for your library.
|reading and writing to “permanent” storage|
|for connecting to the internet using the Arduino Ethernet Shield, Arduino Ethernet Shield 2 and Arduino Leonardo ETH|
for communicating with applications on the computer using a standard serial protocol.
|for connecting to a GSM/GRPS network with the GSM shield.|
for controlling liquid crystal displays (LCDs)
|for reading and writing SD cards|
|for controlling servo motors|
|for communicating with devices using the Serial Peripheral Interface (SPI) Bus|
for serial communication on any digital pins. Version 1.0 and later of Arduino incorporate Mikal Hart‘s NewSoftSerial library as SoftwareSerial.
|for controlling stepper motors|
|for drawing text , images, and shapes on the Arduino TFT screen|
for connecting to the internet using the Arduino WiFi shield
Two Wire Interface (TWI/I2C) for sending and receiving data over a net of devices or sensors.