Modifications

Sauter à la navigation Sauter à la recherche
Ligne 206 : Ligne 206 :  
d.move( 'L', sdegree=75, sdegree_max=30, prepare=True )
 
d.move( 'L', sdegree=75, sdegree_max=30, prepare=True )
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
Vous noterez l'utilisation du mot 'LEFT' pour tourner à gauche. Vous pouvez le remplacer par 'L'.
 +
 +
Pour tourner à droite, vous pouvez utiliser les mots clés 'RIGHT', 'R'.
    
{{Hack-micropython-ServoRobot-TRAILER}}
 
{{Hack-micropython-ServoRobot-TRAILER}}
29 917

modifications

Menu de navigation