Reference.Libraries History

The Arduino environment can be extended through the use of libraries, just like most programming platforms. Libraries provide extra functionality for use in sketches, e.g. working with hardware or manipulating data. 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.

to:

The Arduino environment can be extended through the use of libraries, just like most programming platforms. Libraries provide extra functionality for use in sketches, e.g. working with hardware or manipulating data. 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.

Arduino Yún Bridge Library

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.

to:

The Arduino environment can be extended through the use of libraries, just like most programming platforms. Libraries provide extra functionality for use in sketches, e.g. working with hardware or manipulating data. 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.

Bridge Library - this library establishes a bridge between the two processors mounted on the Yún. The Bridge library is a library for Arduino that simplify you the communication with the on board linux processor.

to:

Bridge Library - Enables communication between the Linux processor and the Arduino on the Yún.

Arduino Yún Bridge Library

Bridge Library - this library establishes a bridge between the two processors mounted on the Yún. The Bridge library is a library for Arduino that simplify you the communication with the on board linux processor.

If you're using one of these libraries, you need to install it first. To do so, download the library and unzip it. It should be in a folder of its own, and will typically contain at least two files, one with a .h suffix and one with a .cpp suffix. Open your Arduino sketchbook folder. If there is already a folder there called libraries, place the library folder in there. If not, create a folder called libraries in the sketchbook folder, and drop the library folder in there. Then re-start the Arduino programming environment, and you should see your new library in the Sketch > Import Library menu.

If you're not using one of the libraries that comes with Arduino, you need to install the library first. To do so, download the library and unzip it. It should be in a folder of its own, and will typically contain at least two files, one with a .h suffix and one with a .cpp suffix. Open your Arduino sketchbook folder. If there is already a folder there called libraries, place the library folder in there. If not, create a folder called libraries in the sketchbook folder, and drop the library folder in there. Then re-start the Arduino programming environment, and you should see your new library in the Sketch > Import LIbrary menu.

To install a contributed library, unzip it to the libraries sub-folder of your sketchbook. For details, see the page on the Arduino environment.

to:

If you're using one of these libraries, you need to install it first. To do so, download the library and unzip it. It should be in a folder of its own, and will typically contain at least two files, one with a .h suffix and one with a .cpp suffix. Open your Arduino sketchbook folder. If there is already a folder there called libraries, place the library folder in there. If not, create a folder called libraries in the sketchbook folder, and drop the library folder in there. Then re-start the Arduino programming environment, and you should see your new library in the Sketch > Import Library menu.

To use a library in a sketch, select it from Sketch > Import Library. For details, see the page on the Arduino environment.

to:

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.

If you're not using one of the libraries that comes with Arduino, you need to install the library first. To do so, download the library and unzip it. It should be in a folder of its own, and will typically contain at least two files, one with a .h suffix and one with a .cpp suffix. Open your Arduino sketchbook folder. If there is already a folder there called libraries, place the library folder in there. If not, create a folder called libraries in the sketchbook folder, and drop the library folder in there. Then re-start the Arduino programming environment, and you should see your new library in the Sketch > Import LIbrary menu.

Instructions: To use a library in a sketch, select it from Sketch > Import Library. This will insert one or more #include statements at the top of the sketch and compile the library with your sketch. Because libraries are uploaded to the board with your sketch, they increase the amount of space it takes up. If a sketch no longer needs a library, simply delete its #include statements from the top of your code.

Instructions: To install contributed libraries, create a folder called libraries in your sketchbook folder and unzip the libraries there. You'll need to restart Arduino for the library to appear in the environment.

Instructions: To install contributed libraries, create a folder called libraries in your sketchbook folder and unzip the libraries there. You'll need to restart Arduino for the library to appear in the environment.

to:

Instructions: To install contributed libraries, create a folder called libraries in your sketchbook folder and unzip the libraries there. You'll need to restart Arduino for the library to appear in the environment.

To use a library in a sketch, select it from Sketch > Import Library. This will insert one or more #include statements at the top of the sketch and compile the library with your sketch. Because libraries are uploaded to the board with your sketch, they increase the amount of space it takes up. If a sketch no longer needs a library, simply delete its #include statements from the top of your code.

to:

Instructions: To use a library in a sketch, select it from Sketch > Import Library. This will insert one or more #include statements at the top of the sketch and compile the library with your sketch. Because libraries are uploaded to the board with your sketch, they increase the amount of space it takes up. If a sketch no longer needs a library, simply delete its #include statements from the top of your code.

Changed lines 24-25 from:

To install contributed libraries, create a folder called libraries in your sketchbook folder and unzip the libraries there. You'll need to restart Arduino for the library to appear in the environment.

to:

Instructions: To install contributed libraries, create a folder called libraries in your sketchbook folder and unzip the libraries there. You'll need to restart Arduino for the library to appear in the environment.

To use an existing library in a sketch, go to the Sketch menu, choose "Import Library", and pick from the libraries available. This will insert one or more #include statements at the top of the sketch and allow it to use the library.

To use a user-contributed library, create a new folder in your main Sketches folder called "libraries". Put the folder containing the library you want to use in this folder and re-start Arduino.

Because libraries are uploaded to the board with your sketch, they increase the amount of space it takes up. If a sketch no longer needs a library, simply delete its #include statements from the top of your code.

to:

To use a library in a sketch, select it from Sketch > Import Library. This will insert one or more #include statements at the top of the sketch and compile the library with your sketch. Because libraries are uploaded to the board with your sketch, they increase the amount of space it takes up. If a sketch no longer needs a library, simply delete its #include statements from the top of your code.

Added lines 24-25:

To install contributed libraries, create a folder calledlibrariesin your sketchbook folder and unzip the libraries there. You'll need to restart Arduino for the library to appear in the environment.

Deleted lines 64-65:

To install, unzip the library to a sub-directory of the libraries sub-directory of your Arduino sketchbook directory (shown in the Arduino preferences dialog). If this is the first library you've installed, you'll need to create the libraries directory. After unzipping the library, (re-)launch the Arduino environment; you should see the library in the Import Library menu.

Standard Libraries

To install, unzip the library to a sub-directory of the hardware/libraries sub-directory of the Arduino application directory. Then launch the Arduino environment; you should see the library in the Import Library menu.

to:

To install, unzip the library to a sub-directory of the libraries sub-directory of your Arduino sketchbook directory (shown in the Arduino preferences dialog). If this is the first library you've installed, you'll need to create the libraries directory. After unzipping the library, (re-)launch the Arduino environment; you should see the library in the Import Library menu.

To install, unzip the library to a sub-directory of the hardware/libraries sub-directory of the Arduino application directory. Then launch the Arduino environment; you should see the library in the Import Library menu.

to:

To install, unzip the library to a sub-directory of the hardware/libraries sub-directory of the Arduino application directory. Then launch the Arduino environment; you should see the library in the Import Library menu.

To install, unzip the library to a sub-directory of the hardware/libraries of the Arduino application directory. Then launch the Arduino environment; you should see the library in the Import Library menu.

to:

To install, unzip the library to a sub-directory of the hardware/libraries sub-directory of the Arduino application directory. Then launch the Arduino environment; you should see the library in the Import Library menu.

November 02, 2007, at 08:16 PM
by David A. Mellis - cleaning up the instructions

Changed lines 3-6 from:

To use an existing library in a sketch simply go to the Sketch menu, choose "Import Library", and pick from the libraries available. This will insert an #include statement at the top of the sketch for each header (.h) file in the library's folder and make the library's functions and constants available to your sketch.

Because libraries are uploaded to the board with your sketch, they increase the amount of space used by the ATmega8 on the board. If a sketch no longer needs a library, simply delete its #include statements from the top of your code.

to:

To use an existing library in a sketch, go to the Sketch menu, choose "Import Library", and pick from the libraries available. This will insert one or more #include statements at the top of the sketch and allow it to use the library.

Because libraries are uploaded to the board with your sketch, they increase the amount of space it takes up. If a sketch no longer needs a library, simply delete its #include statements from the top of your code.

Changed lines 33-35 from:

LedControl - an alternative to the Matrix library for driving multiple LEDs with Maxim chips.

to:

LedControl - an alternative to the Matrix library for driving multiple LEDs with Maxim chips.

To install, unzip the library to a sub-directory of the hardware/libraries of the Arduino application directory. Then launch the Arduino environment; you should see the library in the Import Library menu.

To use an existing library in a sketch simply go to the Sketch menu, choose "Import Library", and pick from the libraries available. This will insert an #include statement at the top of the sketch for each header (.h) file in the library's folder and make the library's functions and constants available to your sketch.

Because libraries are uploaded to the board with your sketch, they increase the amount of space used by the ATmega8 on the board. If a sketch no longer needs a library, simply delete its #include statements from the top of your code.