Modifications

Sauter à la navigation Sauter à la recherche
389 octets ajoutés ,  4 mars 2017 à 11:37
Ligne 40 : Ligne 40 :     
== Installation libftdi ==
 
== Installation libftdi ==
This step will install libftdi's Python libraryCarefully follow the steps below to make sure the library is installed.
+
Cette étape installe la bibliothèque Python pour libftdi.  Suivez attentivement les étapes suivantes pour installer correctement la bobliothèque.
   −
Start by downloading the binary version of the libftdi library by clicking the button below. This binary is provided by the [https://sourceforge.net/projects/picusb/files/ picusb USB resources project].
+
Nous allons commencer par télécharger la version binaire de la bibliothèque libftdi en cliquant sur le bouton ci-dessous. Ce binaire est fournit dans [https://sourceforge.net/projects/picusb/files/ les ressources du picusb USB].
    
{{download-box|libftdi1-1.0_devkit_mingw32_17Feb2013.zip|http://downloads.sourceforge.net/project/picusb/libftdi1-1.0_devkit_mingw32_17Feb2013.zip}}
 
{{download-box|libftdi1-1.0_devkit_mingw32_17Feb2013.zip|http://downloads.sourceforge.net/project/picusb/libftdi1-1.0_devkit_mingw32_17Feb2013.zip}}
   −
Unzip the archive and you should see a series of folders like below:
+
En dézippant l'archive, vous devriez vous une série de répertoire comme ceci:
    
{{ADFImage|RASP-FT232H-MPSSE-Windows-20.png}}
 
{{ADFImage|RASP-FT232H-MPSSE-Windows-20.png}}
   −
We need to copy some files from libftdi into Python's package directory. Open another Explorer window and navigate to the location you installed Python earlier, typically '''C:\python27'''. Inside the Python directory navigate to the '''Lib > site-packages''' folder.  Files you copy into this folder will be available globally as packages that your Python scripts can use.
+
Nous aurons besoin de copier quelques fichiers de libftdi dans le répertoire des paquet Python (un répertoire nommé "package"). Ouvrez un autre explorateur de fichier et naviguez dans le répertoire où vous avez installez Python, généralement '''C:\python27'''. Dans le répertoire Python, déplacez vous vers le sous répertoire '''Lib > site-packages'''.  
   −
From the libftdi archive folder, copy all the .DLL files from the '''bin''' folder into the Python '''site-packages''' folder, specifically:
+
Les fichiers que vous copierez dans ce répertoire seront disponibles "globalement" pour vos propres scripts Python.
 +
 
 +
Depuis le répertoire de l'archive libftdi, copiez tous les fichiers .DLL du répertoire '''bin''' vers le répertoires '''site-packages''' de python. Et plus spécialement:
 
* '''bin\libftdi1.dll'''
 
* '''bin\libftdi1.dll'''
 
* '''bin\libftdipp1.dll'''
 
* '''bin\libftdipp1.dll'''
Ligne 61 : Ligne 63 :  
* '''bin\libusb-1.0.dll'''
 
* '''bin\libusb-1.0.dll'''
   −
Then also copy in the files from the python2.7 folder of the libftdi archive into the Python site-packages folder:
+
Puis, copiez également les fichiers suivants contenu dans le sous répertoire python2.7 de l'archive libftdi. Ces fichiers doivent également être copiez dans le répertoire site-packages de python:
 
* '''python2.7\_ftdi.pyd'''
 
* '''python2.7\_ftdi.pyd'''
 
* '''python2.7\ftdi1.py'''
 
* '''python2.7\ftdi1.py'''
   −
To double check you copied in the right files, your Python site-packages folder should have at least the files below inside it (you might see other files & directories, but don't worry they can be ignored):
+
Vérifiez une nouvelle fois que les fichiers soient copiés au bon emplacement. Votre répertoire site-packages doit au moins contenir les fichiers listés ci-dessus (vous devriez également voir d'autres répertoires et fichier mais vous pouvez les ignorer):
    
{{ADFImage|RASP-FT232H-MPSSE-Windows-21.png}}
 
{{ADFImage|RASP-FT232H-MPSSE-Windows-21.png}}
   −
That's all you need to do to install libftdi. Let's move on to install the Adafruit Python GPIO library next.
+
Voilà, c'est tout ce dont vous aurez besoin pour installer libftdi.  
 +
 
 +
Maintenant, nous allons pouvoir installer la bibliothèque "Adafruit Python GPIO".
    
== Bibliothèque Adafruit Python GPIO ==
 
== Bibliothèque Adafruit Python GPIO ==
29 918

modifications

Menu de navigation