Modifications

Sauter à la navigation Sauter à la recherche
Ligne 57 : Ligne 57 :     
== Détecter les mouvements du joystick ==
 
== Détecter les mouvements du joystick ==
 +
{{traduction}}
    
Consider how a joystick might work. You can use the LED matrix to help you think about it. Let's make a pixel white and use the joystick to move the pixel around the 8x8 matrix. To do this you can use an event to detect a key press. For example, if a key is pressed DOWN what steps need to happen to move the pixel?
 
Consider how a joystick might work. You can use the LED matrix to help you think about it. Let's make a pixel white and use the joystick to move the pixel around the 8x8 matrix. To do this you can use an event to detect a key press. For example, if a key is pressed DOWN what steps need to happen to move the pixel?
29 918

modifications

Menu de navigation