Modifications

Sauter à la navigation Sauter à la recherche
Ligne 11 : Ligne 11 :     
== Brancher les moteurs ==
 
== Brancher les moteurs ==
To connect a motor, simply solder two wires to the terminals and then connect them to either the '''M1''', '''M2''', '''M3''', or '''M4'''. If your motor is running 'backwards' from the way you like, just swap the wires in the terminal block
+
Pour connecter un moteur, soudez simplement deux fils sur les bornes du moteur et connectez les l'un des borniers '''M1''', '''M2''', '''M3''' ou '''M4'''. Si votre moteur tourne à "l'envers", inversez simplement les connexions sur le bornier.
   −
For this demo, please connect it to '''M3'''
+
Le moteur est connecté sur '''M3''' pour la démontration suivante
   −
Now go into the Adafruit-Motor-HAT-Python/examples folder and run {{fname|sudo python DCTest.py}} to watch your motor spin back and forth.
+
Rendez-vous ensuite dans le répertoire d'exemple {{fname|Adafruit-Motor-HAT-Python/examples}} et exécutez {{fname|sudo python DCTest.py}} pour faire tourner le moteur dans un sens puis dans l'autre.
    
{{ADFImage|Rasp-Hat-Moteur-Moteurs-Continus-00.jpg|640px}}
 
{{ADFImage|Rasp-Hat-Moteur-Moteurs-Continus-00.jpg|640px}}
29 917

modifications

Menu de navigation