Modifications
Sauter à la navigation
Sauter à la recherche
← Modification précédente
Modification suivante →
Hack-micropython-Robot2Wheel-Code
(voir la source)
Version du 30 janvier 2016 à 22:37
23 octets supprimés
,
30 janvier 2016 à 22:37
→Tourner sur place
Ligne 170 :
Ligne 170 :
<nowiki>>>> from r2wheel import Robot2Wheel
<nowiki>>>> from r2wheel import Robot2Wheel
>>> from pyb import delay
>>> from pyb import delay
−
>>> r2 = Robot2Wheel()
>>> r2 = Robot2Wheel( reverse_mot2 = True ) # inverser la commande du moteur moteur
>>> r2 = Robot2Wheel( reverse_mot2 = True ) # inverser la commande du moteur moteur
>>> r2.turn( Robot2Wheel.RIGHT_ROTATE )
>>> r2.turn( Robot2Wheel.RIGHT_ROTATE )
Admin
Bureaucrates
,
Administrateurs
29 922
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