Modifications

Sauter à la navigation Sauter à la recherche
Ligne 2 : Ligne 2 :     
== Installer la bibliothèque ==
 
== Installer la bibliothèque ==
{{bloc-etroit|text=To use the shield on an Arduino, you'll need to install the Adafruit Motorshield v2 library. '''This library is not compatible with the older AF_Motor library''' used for v1 shields. However, if you have code for the older shield, adapting the code to use the new shield isn't difficult. We had to change the interface a little to support shield stacking, & we think its worth it!
+
{{bloc-etroit|text=Vous devez installer la bibliothèque/librairie Adafruit Motorshield v2 pour utiliser ce shield sur un Arduino. '''Cette bibliothèque n'est pas compatible avec l'ancienne librairie AF_Motor''' utilisé avec les shield de v1.  
   −
* Start by downloading the zip of the '''[https://github.com/ladyada/Adafruit_Motor_Shield_V2_Library library from the Github repository]'''. You can also just click here to [https://github.com/ladyada/Adafruit_Motor_Shield_V2_Library/archive/master.zip Download latest Adafruit Motor Shield V2 Library].
+
Si vous avez du code pour l'ancienne librairie, le code ne sera pas difficile à adapter pour ce nouveau shield. L'interface de librairie à été légèrement modifiée pour supporter l'empilement de shield, ce qui en vaut largement le coup!
* Copy the folder inside the zip file to the Libraries folder inside your Arduino Sketchbook folder and re-name it to Adafruit_Motorshield
     −
[[Installation d'un librairie Arduino|For more details on how to install Arduino libraries, check out our detailed tutorial!]] }}
+
* Commencez par télécharger l'archive zip de '''[https://github.com/ladyada/Adafruit_Motor_Shield_V2_Library la librairie/bibliothèque depuis le dépôt Github d'Adafruit]'''. Vous pouvez également cliquer sur [https://github.com/ladyada/Adafruit_Motor_Shield_V2_Library/archive/master.zip ce lien pour télécharger la dernière librairie Adafruit Motor Shield V2].
 +
* Copiez le répertoire (disponible à l'intérieur de l'archive zip) dans le répertoire ''Libraries'' accessible à l'intérieur du répertoire "Sketchbook" et renommez le  Adafruit_Motorshield
 +
 
 +
[[Installation d'un librairie Arduino|Vous pouvez consulter notre tutoriel dédicacé à l'installation de librairie Arduino!]] }}
    
== Exécuter les exemples ==
 
== Exécuter les exemples ==
29 917

modifications

Menu de navigation