Modifications

Sauter à la navigation Sauter à la recherche
230 octets ajoutés ,  4 mars 2017 à 12:02
Ligne 76 : Ligne 76 :     
== Bibliothèque Adafruit Python GPIO ==
 
== Bibliothèque Adafruit Python GPIO ==
Finally let's install the Adafruit Python GPIO library which will allow your Python scripts to access the MPSSE functionality of the FT232H breakout
+
Voila, nous allons terminer par l'installation de la bibliothèque "Adafruit Python GPIO" qui permettra à vos scripts python d'accéder au fonctionnalités MPSSE du breakout FT232H.
   −
First download an archive of the library by clicking the button below:
+
Pour commencer, nous allons télécharger l'archive en cliquant sur le lien suivant:
    
{{download-box|Adafruit Python GPIO Library|https://github.com/adafruit/Adafruit_Python_GPIO/archive/master.zip}}
 
{{download-box|Adafruit Python GPIO Library|https://github.com/adafruit/Adafruit_Python_GPIO/archive/master.zip}}
   −
Unzip the contents and then open a command terminal and navigate to the directory where the library was unzipped. Execute the following command to install the library:
+
Dézipper le contenu de l'archiver dans un répertoire. Démarrez ensuite un terminal et rendre vous dans le répertoire où vous avez dézippé le contenu de l'archive.
 +
 
 +
Saisissez y la commande suivante:
    
  <nowiki>python setup.py install</nowiki>
 
  <nowiki>python setup.py install</nowiki>
   −
Note if you see an error that Python can't be found then make sure you installed Python 2.7 as mentioned at the top of the page, and that it was added to your system path. [http://stackoverflow.com/questions/6318156/adding-python-path-on-windows-7 Here's more details on how to manually add Python to your system path].
+
Note: si vous constatez un message d'erreur indiquant que python ne peut être trouvé alors assurez vous d'avoir installé Python 2.7 comme mentionné en début de cette page (et avoir ajouté python au répertoire de recherche système). [http://stackoverflow.com/questions/6318156/adding-python-path-on-windows-7 Vous trouverez des détails sur ajouter manuellement python au répertoire de recherche système] (''stackoverflow, anglais'').
   −
You should see the Python library install itself with text similar to the below:
+
Vous devriez voir la bibliothèque python s'installer toute seule... comme ci-dessous:
    
{{ADFImage|RASP-FT232H-MPSSE-Windows-30.png}}
 
{{ADFImage|RASP-FT232H-MPSSE-Windows-30.png}}
 +
 +
{{traduction}}
    
Now let's test if both the libftdi and Adafruit Python GPIO libraries were correctly installed.  In the command terminal run Python by executing:
 
Now let's test if both the libftdi and Adafruit Python GPIO libraries were correctly installed.  In the command terminal run Python by executing:
29 917

modifications

Menu de navigation