Différences entre versions de « NeoPixel-UserGuide-Arduino »
Ligne 1 : | Ligne 1 : | ||
{{NeoPixel-UserGuide-NAV}} | {{NeoPixel-UserGuide-NAV}} | ||
+ | |||
+ | == Bibliothèque Arduino == | ||
+ | {{bloc-étroit|text=Controlling NeoPixels “from scratch” is quite a challenge, so we provide a library letting you focus on the fun and interesting bits. The library works with most mainstream Arduino boards and derivatives: Uno, Mega, Leonardo, Micro, Adafruit Flora, etc. — most anything with an Atmel AVR 8-bit processor from 8 to 16 MHz — and also works with the Arduino Due and all varieties of the PJRC Teensy boards. | ||
+ | |||
+ | Because processor-specific assembly language is used, this library does '''not''' work on Netduino, ChipKIT or other advanced “Arduino-like” boards. Others may have written code and libraries for such boards, but we can’t provide technical support for any bugs or trouble there; that’s frontier stuff. Some of this is covered in the “Advanced Coding” section.}} | ||
+ | |||
+ | Installation of the library is as follows: | ||
+ | |||
+ | * Visit the [https://github.com/adafruit/Adafruit_NeoPixel Adafruit_NeoPixel library] page at Github.com. | ||
+ | * Select the “Download ZIP” button, or simply [https://github.com/adafruit/Adafruit_NeoPixel/archive/master.zip click this link] to download directly. | ||
+ | * Uncompress the ZIP file after it’s finished downloading. | ||
+ | * The resulting folder should contain the files “Adafruit_NeoPixel.cpp”, “Adafruit_NeoPixel.h” and an “examples” sub-folder. Sometimes in Windows you’ll get an intermediate-level folder and need to move things around. | ||
+ | * Rename the folder (containing the .cpp and .h files) to “Adafruit_NeoPixel” (with the underscore and everything), and place it alongside your other Arduino libraries, typically in your (home folder)/Documents/Arduino/Libraries folder. Libraries should not be installed alongside the Arduino application itself. | ||
+ | * Re-start the Arduino IDE if it’s currently running. | ||
+ | |||
+ | [[Installation_d'un librairie Arduino|Here’s a tutorial]] that walks through the process of correctly installing Arduino libraries. | ||
{{NeoPixel-UserGuide-TRAILER}} | {{NeoPixel-UserGuide-TRAILER}} |
Version du 24 février 2014 à 14:11
Bibliothèque Arduino
Installation of the library is as follows:
- Visit the Adafruit_NeoPixel library page at Github.com.
- Select the “Download ZIP” button, or simply click this link to download directly.
- Uncompress the ZIP file after it’s finished downloading.
- The resulting folder should contain the files “Adafruit_NeoPixel.cpp”, “Adafruit_NeoPixel.h” and an “examples” sub-folder. Sometimes in Windows you’ll get an intermediate-level folder and need to move things around.
- Rename the folder (containing the .cpp and .h files) to “Adafruit_NeoPixel” (with the underscore and everything), and place it alongside your other Arduino libraries, typically in your (home folder)/Documents/Arduino/Libraries folder. Libraries should not be installed alongside the Arduino application itself.
- Re-start the Arduino IDE if it’s currently running.
Here’s a tutorial that walks through the process of correctly installing Arduino libraries.
Source: NeoPixel UserGuide créé par Phillip Burgess pour AdaFruit Industries. Crédit AdaFruit Industries
Traduit par Meurisse D. pour MCHobby.be
Traduit avec l'autorisation d'AdaFruit Industries - Translated with the permission from Adafruit Industries - www.adafruit.com
Toute référence, mention ou extrait de cette traduction doit être explicitement accompagné du texte suivant : « Traduction par MCHobby (www.MCHobby.be) - Vente de kit et composants » avec un lien vers la source (donc cette page) et ce quelque soit le média utilisé.
L'utilisation commercial de la traduction (texte) et/ou réalisation, même partielle, pourrait être soumis à redevance. Dans tous les cas de figures, vous devez également obtenir l'accord du(des) détenteur initial des droits. Celui de MC Hobby s'arrêtant au travail de traduction proprement dit.