Guide.Libraries History

Hide minor edits - Show changes to markup

August 20, 2015, at 12:25 PM by Alice Pintus -
August 20, 2015, at 12:24 PM by Alice Pintus -
Added line 91:

\\

August 20, 2015, at 12:24 PM by Alice Pintus -
Changed lines 97-98 from:
to:


\\

August 20, 2015, at 12:23 PM by Alice Pintus -
Changed lines 95-96 from:
to:
  ....

August 20, 2015, at 12:23 PM by Alice Pintus -
Changed lines 82-85 from:

To install the library, first quit the Arduino application.

Then uncompress the ZIP file containing the library. For example, if you're installing a library called "ArduinoParty", uncompress ArduinoParty.zip. It should contain a folder called ArduinoParty, with files like ArduinoParty.cpp and ArduinoParty.h inside. (If the .cpp and .h files aren't in a folder, you'll need to create one. In this case, you'd make a folder called "ArduinoParty" and move into it all the files that were in the ZIP file, like ArduinoParty.cpp and ArduinoParty.h.)

to:

To install the library, first quit the Arduino application. Then uncompress the ZIP file containing the library. For example, if you're installing a library called "ArduinoParty", uncompress ArduinoParty.zip. It should contain a folder called ArduinoParty, with files like ArduinoParty.cpp and ArduinoParty.h inside. (If the .cpp and .h files aren't in a folder, you'll need to create one. In this case, you'd make a folder called "ArduinoParty" and move into it all the files that were in the ZIP file, like ArduinoParty.cpp and ArduinoParty.h.)

Changed line 91 from:

or like this (on Mac):

to:

or like this (on Mac and Linux):

Changed lines 95-97 from:
  ...

or similarly for Linux.

to:
August 20, 2015, at 12:20 PM by Alice Pintus -
Changed lines 103-106 from:

Restart the Arduino application. Make sure the new library appears in the Sketch->Import Library menu item of the software.

That's it! You've installed a library!

to:

Restart the Arduino application. Make sure the new library appears in the Sketch->Import Library menu item of the software. That's it! You've installed a library!

August 20, 2015, at 12:19 PM by Alice Pintus -
Changed lines 67-74 from:

Libraries are often distributed as a ZIP file or folder. The name of the folder is the name of the library. Inside the folder will be a .cpp file, a .h file and often a keywords.txt file, examples folder, and other files required by the library.

Starting with version 1.0.5, you can install 3rd party libraries in the IDE. Do not unzip the downloaded library, leave it as is.

to:

Libraries are often distributed as a ZIP file or folder. The name of the folder is the name of the library. Inside the folder will be a .cpp file, a .h file and often a keywords.txt file, examples folder, and other files required by the library. Starting with version 1.0.5, you can install 3rd party libraries in the IDE. Do not unzip the downloaded library, leave it as is.

Deleted line 75:
Changed lines 78-81 from:

NB : the library will be available to use in sketches, but examples for the library will not be exposed in the File > Examples until after the IDE has restarted.

Manual installation

to:

NB: the Library will be available to use in sketches, but examples for the library will not be exposed in the File > Examples until after the IDE has restarted.

Manual installation

Changed lines 84-96 from:

Then uncompress the ZIP file containing the library. For example, if you're installing a library called "ArduinoParty", uncompress ArduinoParty.zip. It should contain a folder called ArduinoParty, with files like ArduinoParty.cpp and ArduinoParty.h inside. (If the .cpp and .h files aren't in a folder, you'll need to create one. In this case, you'd make a folder called "ArduinoParty" and move into it all the files that were in the ZIP file, like ArduinoParty.cpp and ArduinoParty.h.)

Drag the ArduinoParty folder into this folder (your libraries folder). Under Windows, it will likely be called "My Documents\Arduino\libraries". For Mac users, it will likely be called "Documents/Arduino/libraries". On Linux, it will be the "libraries" folder in your sketchbook.

to:

Then uncompress the ZIP file containing the library. For example, if you're installing a library called "ArduinoParty", uncompress ArduinoParty.zip. It should contain a folder called ArduinoParty, with files like ArduinoParty.cpp and ArduinoParty.h inside. (If the .cpp and .h files aren't in a folder, you'll need to create one. In this case, you'd make a folder called "ArduinoParty" and move into it all the files that were in the ZIP file, like ArduinoParty.cpp and ArduinoParty.h.)

Drag the ArduinoParty folder into this folder (your libraries folder). Under Windows, it will likely be called "My Documents\Arduino\libraries". For Mac users, it will likely be called "Documents/Arduino/libraries". On Linux, it will be the "libraries" folder in your sketchbook.

Changed lines 100-112 from:

There may be more files than just the .cpp and .h files, just 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. For example:

  Documents\Arduino\libraries\ArduinoParty.cpp and
  Documents\Arduino\libraries\ArduinoParty\ArduinoParty\ArduinoParty.cpp

won't work.)

Restart the Arduino application. Make sure the new library appears in the Sketch->Import Library menu item of the software.

to:

There may be more files than just the .cpp and .h files, just 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. For example: Documents\Arduino\libraries\ArduinoParty.cpp and Documents\Arduino\libraries\ArduinoParty\ArduinoParty\ArduinoParty.cpp won't work.)

Restart the Arduino application. Make sure the new library appears in the Sketch->Import Library menu item of the software.

August 20, 2015, at 12:17 PM by Alice Pintus -
Changed line 16 from:
     English (英语)
to:
     English 
Changed line 20 from:
      <li class="selected">English (英语)</li>
to:
      <li class="selected">English </li>
Changed lines 39-40 from:

What are Libraries?

to:

What are Libraries?

Changed lines 49-53 from:

How to Install a Library

Using the Library Manager

to:

How to Install a Library

Using the Library Manager

Deleted line 52:
Changed lines 56-58 from:

Then the library manager will open and you will find a list of libraries that are already installed or ready for installation.

In this example we will install the Bridge library. Scroll the list to find it, then select the version of the library you want to install. Sometimes only one version of the library is available. If the version selection menu does not appear, don't worry: it is normal.

to:

Then the library manager will open and you will find a list of libraries that are already installed or ready for installation. In this example we will install the Bridge library. Scroll the list to find it, then select the version of the library you want to install. Sometimes only one version of the library is available. If the version selection menu does not appear, don't worry: it is normal.

Deleted line 59:
Deleted line 61:
Deleted line 62:
Changed lines 65-66 from:

Importing a .zip Library

to:

Importing a .zip Library

Deleted line 72:
Changed line 155 from:
      <li><a href="?setlang=en">English (英语)</a></li>
to:
      <li><a href="?setlang=en">英语 (English)</a></li>
August 10, 2015, at 01:30 PM by Simone Maiocchi -
Changed line 269 from:

本教程以Limor Fried的文本为基础。

to:

本教程参考了Limor Fried的文本。

August 10, 2015, at 01:28 PM by Simone Maiocchi -
Changed lines 195-196 from:

在这里,我们将以安装Bridge库为例。滚动列表找到Bridge库,然后选择你想要安装的库版本。有时可能仅有一个库版本可用。若未出现版本选择菜单,不用担心:这属于正常情况。

to:

在这里,我们将以安装Bridge库为例。滚动列表找到Bridge库,然后选择你想要安装的库版本。有时可能仅有一个库版本可用。若未出现版本选择菜单,不用担心,这属于正常情况。

August 07, 2015, at 02:19 PM by Simone Maiocchi -
Changed line 16 from:
      English
to:
     English (英语)
Changed lines 20-21 from:
      <li class="selected">English</li>
      <li><a href="?setlang=cn">中文</a></li>
to:
      <li class="selected">English (英语)</li>
      <li><a href="?setlang=cn">中文 (Chinese)</a></li>
Added line 25:
Changed line 159 from:
      中文
to:
      中文 (Chinese)
Changed lines 163-164 from:
      <li class="selected">中文</li>
      <li><a href="?setlang=en">English</a></li>
to:
      <li class="selected">中文 (Chinese)</li>
      <li><a href="?setlang=en">English (英语)</a></li>
Added line 168:
August 05, 2015, at 04:08 PM by Simone Maiocchi -
Changed lines 216-217 from:
to:
August 05, 2015, at 03:45 PM by Simone Maiocchi -
Changed lines 267-268 from:

本教程以Limor Fried的文本为基础。\\

to:

本教程以Limor Fried的文本为基础。 \\

August 05, 2015, at 03:44 PM by Simone Maiocchi -
Changed lines 250-251 from:
  ...
 Documents/Arduino/libraries/ArduinoParty/ArduinoParty.cpp
to:

...

  Documents/Arduino/libraries/ArduinoParty/ArduinoParty.cpp
Changed line 255 from:

……

to:

……\\

August 05, 2015, at 03:42 PM by Simone Maiocchi -
Deleted line 185:

Open the Arduino Software (IDE) and click the "Sketch" menu and then Include Library > Manage Libraries.

Deleted line 202:

You can now find the new library available in the Include Library menu.

Deleted line 221:

be used in your sketch.

Deleted lines 259-261:

(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. For example:

  Documents\Arduino\libraries\ArduinoParty.cpp and
  Documents\Arduino\libraries\ArduinoParty\ArduinoParty\ArduinoParty.cpp won't work.)
Changed line 267 from:

‘‘本教程以Limor Fried的文本为基础。‘‘\\

to:

本教程以Limor Fried的文本为基础。\\

August 05, 2015, at 03:39 PM by Simone Maiocchi -
Changed lines 172-274 from:
to:
August 05, 2015, at 02:12 PM by Simone Maiocchi -
Changed line 9 from:
      > MacOSX
to:
      > Libraries
August 05, 2015, at 02:12 PM by Simone Maiocchi -
Added lines 1-29:
Added lines 141-172:
March 30, 2015, at 01:39 PM by Katia De Coi -
Changed lines 41-42 from:

If you want to add your library pls opan a new issue on github.

to:

If you want to add your own library open a new issue on github.

March 30, 2015, at 01:38 PM by Katia De Coi -
Added lines 41-42:

If you want to add your library pls opan a new issue on github.

March 27, 2015, at 06:44 PM by Angelo Scialabba -
Changed lines 59-60 from:
to:
March 27, 2015, at 06:22 PM by Angelo Scialabba -
Changed lines 27-29 from:

Figure1

to:
Changed lines 32-34 from:

Figure2

to:
Changed lines 37-39 from:

Figure 4

to:
March 27, 2015, at 03:42 PM by Angelo Scialabba -
Changed lines 24-25 from:

To install a new library into your Arduino IDE you can use the Library Manager ( available from IDE version 1.6.2 ).

to:

To install a new library into your Arduino IDE you can use the Library Manager (available from IDE version 1.6.2).

March 27, 2015, at 03:35 PM by Angelo Scialabba -
Changed lines 24-27 from:

To install a new library into your Arduino IDE you can use the Library Manager ( available from version 1.6.2 ).

Open the IDE and go to the "Sketch" menu and then Include Library>Manage Libraries.

to:

To install a new library into your Arduino IDE you can use the Library Manager ( available from IDE version 1.6.2 ).

Open the IDE and click to the "Sketch" menu and then Include Library > Manage Libraries.

March 27, 2015, at 12:21 PM by Angelo Scialabba -
Changed lines 24-27 from:

To install a new library into your Arduino IDE you can use the library manager ( available from version 1.6.2 ).

Open the IDE and go to the "Sketch" menu and then Include Library>Manage Libraries.

to:

To install a new library into your Arduino IDE you can use the Library Manager ( available from version 1.6.2 ).

Open the IDE and go to the "Sketch" menu and then Include Library>Manage Libraries.

Changed lines 32-33 from:

In this example we will install the Bridge library. Scroll the list to find it, then select the version of the library you want to install. Sometimes only one version of the library is available so if the version selection menu does not appear don't worry, it is normal.

to:

In this example we will install the Bridge library. Scroll the list to find it, then select the version of the library you want to install. Sometimes only one version of the library is available. If the version selection menu does not appear, don't worry: it is normal.

Changed lines 36-39 from:

Finally click on install and wait for the IDE installing the new library. It will download the necessary files so the required time depends on your connection speed.

Once it finishes an Installed tag should appear next to the Bridge library and you can close the library manager.

to:

Finally click on install and wait for the IDE to install the new library. Downloading may take time depending on your connection speed.

Once it has finished, an Installed tag should appear next to the Bridge library. You can close the library manager.

March 27, 2015, at 10:29 AM by Angelo Scialabba -
Added lines 32-33:

In this example we will install the Bridge library. Scroll the list to find it, then select the version of the library you want to install. Sometimes only one version of the library is available so if the version selection menu does not appear don't worry, it is normal.

Deleted lines 35-38:

In this example we will install the Bridge library. Scroll the list to find it, then select the version of the library you want to install. Sometimes only one version of the library is available so if the version selection menu does not appear don't worry, it is normal.

Figure3

Deleted lines 37-38:

Figure4

Changed lines 40-41 from:

Figure 5

to:

Figure 4

March 26, 2015, at 11:52 AM by Angelo Scialabba -
Changed lines 48-49 from:

Importing a compressed Library

to:

Importing a .zip Library

March 26, 2015, at 11:23 AM by Angelo Scialabba -
Changed lines 26-27 from:

Open the IDE and go to the "Sketch" menu and then Include Library>Manage Libraries.

to:

Open the IDE and go to the "Sketch" menu and then Include Library>Manage Libraries.

Changed lines 59-61 from:

In the Arduino IDE, navigate to Sketch > Import Library. At the top of the drop down list, select the option to "Add Library''.

to:

In the Arduino IDE, navigate to Sketch > Include Library. At the top of the drop down list, select the option to "Add .ZIP Library''.

March 26, 2015, at 11:21 AM by Angelo Scialabba -
Changed lines 46-47 from:

You now can find the new library available in the include library menu.

to:

You can now find the new library available in the Include Library menu.

March 26, 2015, at 11:19 AM by Angelo Scialabba -
Changed lines 26-27 from:

Open the IDE and go to the "Sketch" menu and then Include "Library>Manage" Libraries.

to:

Open the IDE and go to the "Sketch" menu and then Include Library>Manage Libraries.

Changed lines 42-43 from:

Once it finishes an "Installed" tag should appear next to the Bridge library and you can close the library manager.

to:

Once it finishes an Installed tag should appear next to the Bridge library and you can close the library manager.

March 26, 2015, at 11:18 AM by Angelo Scialabba -
Changed lines 26-27 from:

Open the IDE and go to the Sketch menu and then Include Library>Manage Libraries.

to:

Open the IDE and go to the "Sketch" menu and then Include "Library>Manage" Libraries.

Changed lines 42-43 from:

Once it finishes an “Installed” tag should appear next to the Bridge library and you can close the library manager.

to:

Once it finishes an "Installed" tag should appear next to the Bridge library and you can close the library manager.

Figure 5

March 26, 2015, at 11:16 AM by Angelo Scialabba -
Added lines 3-4:
Added lines 21-47:

Using the Library Manager

To install a new library into your Arduino IDE you can use the library manager ( available from version 1.6.2 ).

Open the IDE and go to the Sketch menu and then Include Library>Manage Libraries.

Figure1

Then the library manager will open and you will find a list of libraries that are already installed or ready for installation.

Figure2

In this example we will install the Bridge library. Scroll the list to find it, then select the version of the library you want to install. Sometimes only one version of the library is available so if the version selection menu does not appear don't worry, it is normal.

Figure3

Finally click on install and wait for the IDE installing the new library. It will download the necessary files so the required time depends on your connection speed.

Figure4

Once it finishes an “Installed” tag should appear next to the Bridge library and you can close the library manager.

You now can find the new library available in the include library menu.

Importing a compressed Library

Deleted lines 52-53:

Automatic installation

May 12, 2013, at 07:07 AM by Scott Fitzgerald -
Changed lines 26-27 from:

Starting with version 1.0.5 of the IDE, you can install 3rd party libraries in the IDE. Do not unzip the downloaded library, leave it as is.

to:

Starting with version 1.0.5, you can install 3rd party libraries in the IDE.

Do not unzip the downloaded library, leave it as is.

May 08, 2013, at 01:05 PM by Scott Fitzgerald -
Added lines 24-42:

Automatic installation

Starting with version 1.0.5 of the IDE, you can install 3rd party libraries in the IDE. Do not unzip the downloaded library, leave it as is.

In the Arduino IDE, navigate to Sketch > Import Library. At the top of the drop down list, select the option to "Add Library''.

You will be prompted to select the library you would like to add. Navigate to the .zip file's location and open it.

Return to the Sketch > Import Library menu. You should now see the library at the bottom of the drop-down menu. It is ready to be used in your sketch.

The zip file will have been expanded in the libraries folder in your Arduino sketches directory.

NB : the library will be available to use in sketches, but examples for the library will not be exposed in the File > Examples until after the IDE has restarted.

Manual installation

Deleted line 86:
October 18, 2012, at 05:05 PM by David A. Mellis -
Changed line 66 from:

This tutorial based on text by Limor Fried.\\

to:

This tutorial based on text by Limor Fried.\\

October 12, 2012, at 07:37 PM by Scott Fitzgerald -
Changed line 66 from:

This tutorial based on text by Limor Fried.

to:

This tutorial based on text by Limor Fried.\\

October 12, 2012, at 07:37 PM by Scott Fitzgerald -
Added lines 67-68:


October 12, 2012, at 07:36 PM by Scott Fitzgerald -
Changed lines 66-67 from:

This tutorial based on text by Limor Fried.

to:

This tutorial based on text by Limor Fried.

October 12, 2012, at 02:06 PM by David A. Mellis - Adding attribution (Limor Fried).
Changed lines 66-67 from:
to:

This tutorial based on text by Limor Fried.

September 24, 2012, at 03:25 PM by David A. Mellis -
Added lines 65-66:
September 24, 2012, at 03:25 PM by David A. Mellis -
Changed line 14 from:

are listed here: http://arduino.cc/en/Reference/Libraries. To use the

to:

are listed in the reference. To use the

Deleted line 64:
September 24, 2012, at 12:50 AM by David A. Mellis -
Added line 65:
September 23, 2012, at 10:35 PM by David A. Mellis -
Changed lines 1-2 from:

= Installing Additional Arduino Libraries=

to:

Installing Additional Arduino Libraries

Changed lines 7-8 from:

= What are Libraries? =

to:

What are Libraries?

Changed lines 17-18 from:

= How to Install a Library =

to:

How to Install a Library

September 23, 2012, at 03:42 PM by David A. Mellis -
Added lines 1-64:

= Installing Additional Arduino Libraries=

Once you are comfortable with the Arduino software and using the built-in functions, you may want to extend the ability of your Arduino with additional libraries.

= What are 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. There are hundreds of additional libraries available on the Internet for download. The built-in libraries and some of these additional libraries are listed here: http://arduino.cc/en/Reference/Libraries. To use the additional libraries, you will need to install them.

= How to Install a Library =

Libraries are often distributed as a ZIP file or folder. The name of the folder is the name of the library. Inside the folder will be a .cpp file, a .h file and often a keywords.txt file, examples folder, and other files required by the library.

To install the library, first quit the Arduino application.

Then uncompress the ZIP file containing the library. For example, if you're installing a library called "ArduinoParty", uncompress ArduinoParty.zip. It should contain a folder called ArduinoParty, with files like ArduinoParty.cpp and ArduinoParty.h inside. (If the .cpp and .h files aren't in a folder, you'll need to create one. In this case, you'd make a folder called "ArduinoParty" and move into it all the files that were in the ZIP file, like ArduinoParty.cpp and ArduinoParty.h.)

Drag the ArduinoParty folder into this folder (your libraries folder). Under Windows, it will likely be called "My Documents\Arduino\libraries". For Mac users, it will likely be called "Documents/Arduino/libraries". On Linux, it will be the "libraries" folder in your sketchbook.

Your Arduino library folder should now look like this (on Windows):

  My Documents\Arduino\libraries\ArduinoParty\ArduinoParty.cpp
  My Documents\Arduino\libraries\ArduinoParty\ArduinoParty.h
  My Documents\Arduino\libraries\ArduinoParty\examples
  ....

or like this (on Mac):

  Documents/Arduino/libraries/ArduinoParty/ArduinoParty.cpp
  Documents/Arduino/libraries/ArduinoParty/ArduinoParty.h
  Documents/Arduino/libraries/ArduinoParty/examples
  ...

or similarly for Linux.

There may be more files than just the .cpp and .h files, just 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. For example:

  Documents\Arduino\libraries\ArduinoParty.cpp and
  Documents\Arduino\libraries\ArduinoParty\ArduinoParty\ArduinoParty.cpp

won't work.)

Restart the Arduino application. Make sure the new library appears in the Sketch->Import Library menu item of the software.

That's it! You've installed a library!

Share