Modifications

Sauter à la navigation Sauter à la recherche
130 octets ajoutés ,  20 juillet 2016 à 10:48
Ligne 4 : Ligne 4 :  
{{traduction}}
 
{{traduction}}
   −
Let's see how we get input from the touchscreen. We'll use this to light some LEDs on the breadboard.
+
Voyons maintenant comment obtenir une entrée depuis l'écran tactile. Nous allons utiliser cette information pour allumer quelques LEDs sur le breadboard.
    
{{ADFImage|RASP-PYGAME-GUI-ECRAN-00.jpg}}
 
{{ADFImage|RASP-PYGAME-GUI-ECRAN-00.jpg}}
   −
With the PiTFT installed with the 4 tactile buttons there aren't many GPIs left on the model B Raspberry Pi. So wire up #17 and #4. The software renders 4 labels on the screen and then looks for mouse events in the four quarters
+
Avec les 4 boutons ttactiles du PiTFT, il ne reste pas beaucoup de GPIO disponible sur un Raspberry-Pi. Raccordons donc #17 et #4. Le logiciel fait le rendu de 4 libellés (des ''labels'' en anglais) sur l'écran puis surveille les événements souris (''mouse events'') dans les 4 quartiers de l'écran.
    
== Code d'initialisation ==
 
== Code d'initialisation ==
29 918

modifications

Menu de navigation