Modifications

Sauter à la navigation Sauter à la recherche
16 octets ajoutés ,  10 avril 2015 à 11:09
Ligne 65 : Ligne 65 :     
== Transformer l'accéléromètre en souris ==
 
== Transformer l'accéléromètre en souris ==
 +
{{traduction}}
 +
 
Now lets make the mouse move based on the angle of the pyboard, using the accelerometer. The following code can be typed directly at the REPL prompt, or put in the {{fname|main.py}} file. Here, we’ll put in in {{fname|main.py}} because to do that we will learn how to go into safe mode.
 
Now lets make the mouse move based on the angle of the pyboard, using the accelerometer. The following code can be typed directly at the REPL prompt, or put in the {{fname|main.py}} file. Here, we’ll put in in {{fname|main.py}} because to do that we will learn how to go into safe mode.
  
29 910

modifications

Menu de navigation