From WikiChip
Difference between revisions of "arduino/standard libraries"
< arduino

 
Line 6: Line 6:
  
 
{| style="width: 600px; margin-left: auto; margin-right: auto;"
 
{| style="width: 600px; margin-left: auto; margin-right: auto;"
|<[[EEPROM.h - Arduino|EEPROM.h]]>
+
|{{arduino|EEPROM.h|<EEPROM.h>}}
|<[[Ethernet.h - Arduino|Ethernet.h]]>
+
|{{arduino|Ethernet.h|<Ethernet.h>}}
|<[[Firmata.h - Arduino|Firmata.h]]>
+
|{{arduino|Firmata.h|<Firmata.h>}}
|<[[GSM.h - Arduino|GSM.h]]>
+
|{{arduino|GSM.h|<GSM.h>}}
 
|-
 
|-
|<[[LiquidCrystal.h - Arduino|LiquidCrystal.h]]>
+
|{{arduino|LiquidCrystal.h|<LiquidCrystal.h>}}
|<[[SD.h - Arduino|SD.h]]>
+
|{{arduino|SD.h|<SD.h>}}
|<[[Servo.h - Arduino|Servo.h]]>
+
|{{arduino|Servo.h|<Servo.h>}}
|<[[SPI.h - Arduino|SPI.h]]>
+
|{{arduino|SPI.h|<SPI.h>}}
 
|-
 
|-
|<[[SoftwareSerial.h - Arduino|SoftwareSerial.h]]>
+
|{{arduino|SoftwareSerial.h|<SoftwareSerial.h>}}
|<[[Stepper.h - Arduino|Stepper.h]]>
+
|{{arduino|Stepper.h|<Stepper.h>}}
|<[[TFT.h - Arduino|TFT.h]]>
+
|{{arduino|TFT.h|<TFT.h>}}
|<[[WiFi.h - Arduino|WiFi.h]]>
+
|{{arduino|WiFi.h|<WiFi.h>}}
 
|-
 
|-
|<[[Wire.h - Arduino|Wire.h]]>
+
|{{arduino|Wire.h|<Wire.h>}}
 
|}
 
|}
  
Line 27: Line 27:
  
 
{| style="width: 600px; margin-left: auto; margin-right: auto;"
 
{| style="width: 600px; margin-left: auto; margin-right: auto;"
|<[[Audio.h - Arduino|Audio.h]]><sup>1</sup>
+
|{{arduino|Audio.h|<Audio.h>}}<sup>1</sup>
|<[[Scheduler.h - Arduino|Scheduler.h]]><sup>1</sup>
+
|{{arduino|Scheduler.h|<Scheduler.h>}}<sup>1</sup>
|<[[USBHost.h - Arduino|USBHost.h]]><sup>1</sup>
+
|{{arduino|USBHost.h|<USBHost.h>}}<sup>1</sup>
|<[[Esplora.h - Arduino|Esplora.h]]><sup>2</sup>
+
|{{arduino|Esplora.h|<Esplora.h>}}<sup>2</sup>
 
|-
 
|-
|<[[ArduinoRobot.h - Arduino|ArduinoRobot.h]]><sup>3</sup>
+
|{{arduino|ArduinoRobot.h|<ArduinoRobot.h>}}<sup>3</sup>
|<[[Bridge.h - Arduino|Bridge.h]]><sup>4</sup>
+
|{{arduino|Bridge.h|<Bridge.h>}}<sup>4</sup>
|<[[YunServer.h - Arduino|YunServer.h]]><sup>4</sup>
+
|{{arduino|YunServer.h|<YunServer.h>}}<sup>4</sup>
|<[[YunClient.h - Arduino|YunClient.h]]><sup>4</sup>
+
|{{arduino|YunClient.h|<YunClient.h>}}<sup>4</sup>
 
|}
 
|}
  

Latest revision as of 15:54, 19 December 2015

The Arduino standard libraries are a collection of libraries that comes standard with the Arduino IDE. The libraries offer a convenient way of performing common tasks that one might need while working with a microcontroller such as accessing the EEPROM, controlling an LCD display, accessing an SD card, and manipulating a servomotor or stepper motor.

Standard Headers[edit]

The Arduino standard libraries are made of 13 headers.

<EEPROM.h> <Ethernet.h> <Firmata.h> <GSM.h>
<LiquidCrystal.h> <SD.h> <Servo.h> <SPI.h>
<SoftwareSerial.h> <Stepper.h> <TFT.h> <WiFi.h>
<Wire.h>

An additional set of libraries only available in some models:

<Audio.h>1 <Scheduler.h>1 <USBHost.h>1 <Esplora.h>2
<ArduinoRobot.h>3 <Bridge.h>4 <YunServer.h>4 <YunClient.h>4

1 - Arduino Due
2 - Arduino Esplora
3 - Arduino Robot
4 - Arduino Yún