Modifications

Sauter à la navigation Sauter à la recherche
174 octets ajoutés ,  19 juin 2016 à 19:23
Ligne 55 : Ligne 55 :  
Si vous faite une rotation de l'écran alors is sera nécessaire de recalibrer la partie tactile pour qu'il fonctionne avec la nouvelle orientation de l'écran. Vous pouvez utiliser le processus de calibration manuelle décrite dans la section ci-dessous, ou vous pouvez exécuter une petit script Python fixera automatiquement la calibration par défaut en fonction de l'orientation de l'écran.
 
Si vous faite une rotation de l'écran alors is sera nécessaire de recalibrer la partie tactile pour qu'il fonctionne avec la nouvelle orientation de l'écran. Vous pouvez utiliser le processus de calibration manuelle décrite dans la section ci-dessous, ou vous pouvez exécuter une petit script Python fixera automatiquement la calibration par défaut en fonction de l'orientation de l'écran.
   −
{{traduction}}
+
Cet outil (''helper'') est automatiquement installé pour vous mais vous pouvez en [https://raw.githubusercontent.com/adafruit/PiTFT_Extras/master/pitft_touch_cal.py lire le code ici sur GitHub].
   −
This helper is automatically installed for you but if you'd like you can check it out here on github
+
Executez le à partir d'une ligne de commande à l'aide de
   −
Run it at the command line with sudo adafruit-pitft-touch-cal
+
sudo adafruit-pitft-touch-cal
it will try to figure out what display you have installed and the rotation it's set up for
+
 
 +
Il va essyer de détecter le type d'écran installé et la rotation configurée.
    
{{ADFImage|RASP-PiTFT-Soft-Touch-04c.png}}
 
{{ADFImage|RASP-PiTFT-Soft-Touch-04c.png}}
   −
By default the script will attempt to read the screen orientation by examining the PiTFT module configuration with modprobe. If the script can read the orientation it will print out the current orientation, the current touchscreen calibration values, and the new touchscreen calibration values baesd on the current orientation. Before updating the calibration the script will ask you to confirm that you'd like to make the change. Press '''y''' and enter to confirm
+
Par défaut, le script va essayer de lire l'orientation de l'écran en examinant la configuration du module PiTFT avec modprobe. Si le script peut lire l'orientation, il l'affichera sur l'écran, ainsi que les valeurs de calibration actuelles et pour finir les nouvelles valeurs de calibration bésée sur l'orientation de l'écran. Le script vous demande une confirmation avant de faire une mise-à-jour des valeurs de calibration. Pressez '''y''' (''Y' pour ''Yes'') puis la touche retour clavier pour confirmer.
    
{{ADFImage|RASP-PiTFT-Soft-Touch-04d.png}}
 
{{ADFImage|RASP-PiTFT-Soft-Touch-04d.png}}
   −
Try using this default calibration script to easily calibrate your touchscreen display. Note that the calibration values might not be exactly right for your display, but they should be close enough for most needs. If you need the most accurate touchscreen calibration, follow the steps in the next section to manually calibrate the touchscreen.
+
Essayez d'utiliser ce script de calibration pour faciliter la calibration de l'écran tactile. Notez que les valeurs de calibration pourrait ne pas correspondre exactement à votre écran, mais suffisamment pour répondre à vos besoins. Si vous avez besoin d'une calibration plus précise, suivez les étapes de la section suivante pour calibrer manuelle votre écran.
    
== Calibration manuelle ==
 
== Calibration manuelle ==
29 917

modifications

Menu de navigation