Ligne 3 : |
Ligne 3 : |
| == First Install the Arduino Library == | | == First Install the Arduino Library == |
| | | |
− | Before you can use the Motor shield, you must install the AF_Motor Arduino library - this will instruct the Arduino how to talk to the Adafruit Motor shield, and it isn't optional!
| + | avant de pouvoir utiliser le Shield Motor (Motor shield), vous devez installer la librairie AF_Motor pour Arduino - cette librairie indique à Arduino comment communiquer vec le motor shield. Ce n'est pas une option mais une nécessité! |
| | | |
− | # [https://github.com/adafruit/Adafruit-Motor-Shield-library/zipball/master First, grab the library from github] | + | # [https://github.com/adafruit/Adafruit-Motor-Shield-library/zipball/master Premièrement, téléchargez la librairie depuis le GitHub d'AdaFruit] |
− | # Uncompress the ZIP file onto your desktop | + | # Décompressez l'archive (fichier Zip) sur votre bureau |
− | # Rename the uncompressed folder AFMotor | + | # Renommer le répertoire décompressé en "AFMotor" |
− | # Check that inside AFMotor is AFMotor.cpp and AFMotor.h files. If not, check the steps above | + | # Assurez vous que le répertoire AFMotor contienne bien les fichier AFMotor.cpp et AFMotor.h . Sinon vérifiez les étapes précédentes. |
− | # Place the AFMotor folder into your arduinosketchfolder/libraries folder. For Windows, this will probably be something like MY Documents/Arduino/libraries for Mac it will be something like Documents/arduino/libraries. If this is the first time you are installing a library, you'll need to create the libraries folder. Make sure to call it libraries exactly, no caps, no other name. | + | # Déplacez le répertoire AFMotor folder dans le répertoire des librairies Arduino (répertoire_arduinos_ketch/libraries). Pour Windows, cela doit être quelque-chose comme "Mes Documents/Arduino/libraries", pour Mac quelque chose comme "Documents/arduino/libraries". Si c'est la première fois que vous installez une librairie, vous devrez certainement créer le répertoire "libraries". Assurez-vous de l'appeler exactement "libraries", pas de capitale, pas d'autre nom. |
− | # Check that inside the libraries folder there is the AFMotor folder, and inside AFMotor is AFMotor.cpp AFMotor.h and some other files | + | # A l'intérieur du répertorie "librairies", il doit y avoir le répertoire "AFMotor", et qu'à l'intérieur de "AFMotor" il y ait AFMotor.cpp, AFMotor.h et quelques autres fichiers |
− | # Quit and restart the IDE. You should now have a submenu called File->Examples->AFMotor->MotorParty | + | # Quittez Arduino IDE et redémarrez le. Vous devriez voir un sous-menu appelé File->Examples->AFMotor->MotorParty |
| | | |
| == Powering your DC motors, voltage and current requirements == | | == Powering your DC motors, voltage and current requirements == |