Modifications

Sauter à la navigation Sauter à la recherche
118 octets ajoutés ,  2 septembre 2017 à 14:30
Ligne 13 : Ligne 13 :     
== Télécharger le code depuis GitHub ==
 
== Télécharger le code depuis GitHub ==
The easiest way to get the code onto your Pi is to hook up an Ethernet cable or with a WiFi setup, and clone it directly using 'git', which is installed by default on most distros.
+
La façon la plus simple de placer le code sur le Raspberry-Pi est de brancher un câble éthernet (ou procéder à la configuration WiFi et de cloner le contenu du Git (ce qui fonctionne sur la plupart des distributions).
   −
Simply run the following commands from an appropriate location (ex. "/home/pi"):
+
Exécutez simplement les commandes suivantes depuis le répertoire approprié (ex. "/home/pi"):
    
  <nowiki>git clone https://github.com/adafruit/Adafruit-Motor-HAT-Python-Library.git
 
  <nowiki>git clone https://github.com/adafruit/Adafruit-Motor-HAT-Python-Library.git
 
cd Adafruit-Motor-HAT-Python-Library</nowiki>
 
cd Adafruit-Motor-HAT-Python-Library</nowiki>
   −
Install python-dev if you havent already:
+
Installer python-dev si ce n'est pas déjà fait:
    
  <nowiki>sudo apt-get install python-dev</nowiki>
 
  <nowiki>sudo apt-get install python-dev</nowiki>
   −
Now install it with the setup install command:
+
Nous allons maintenant installer la bibliothèque dans l'environnement Python la commande suivante:
    
  <nowiki>sudo python setup.py install</nowiki>
 
  <nowiki>sudo python setup.py install</nowiki>
29 918

modifications

Menu de navigation