Modifications
Sauter à la navigation
Sauter à la recherche
← Modification précédente
Modification suivante →
MicroPython-Hack-servo
(voir la source)
Version du 19 avril 2015 à 12:00
42 octets ajoutés
,
19 avril 2015 à 12:00
→Commander un servo-moteur
Ligne 79 :
Ligne 79 :
== Commander un servo-moteur ==
== Commander un servo-moteur ==
−
Plug in a servo to position 1 (the one with pin X1) and create a servo object using:
+
Plug in a
{{pl|64|
servo
-moteur SG90}} ou {{pl|85|GS5010}}
to position 1 (the one with pin X1) and create a servo object using:
<nowiki>>>> servo1 = pyb.Servo(1)</nowiki>
<nowiki>>>> servo1 = pyb.Servo(1)</nowiki>
Admin
Bureaucrates
,
Administrateurs
29 837
modifications
Menu de navigation
Outils personnels
Se connecter
Espaces de noms
Page
Discussion
Variantes
Affichages
Lire
Voir le texte source
Voir l’historique
Plus
Rechercher
Navigation
ARDUINO
RASPBERRY-PI
[:: PI Hacking ::]
Particle.IO
Micro Python
Imprimante 3D
Actualités
Modifications récentes
Page au hasard
Aide
Outils
Pages spéciales
Version imprimable