Modifications

Sauter à la navigation Sauter à la recherche
185 octets ajoutés ,  13 juillet 2015 à 12:26
Ligne 48 : Ligne 48 :     
== Script de calibration automatique ==
 
== Script de calibration automatique ==
 +
Si vous faire une rotation de l'écran, vous aurez besoin de recalibrer la partie tactile pour qu'elle fonctionne avec la nouvelle orientation. Vous pouvez exécuter manuellement le processus de calibration (voir section suivante) ou vous pouvez exécuter un petit script python qui initialise automatiquement les paramètres de calibration en fonction de l'orientation de l'écran.
   −
If you rotate the display you need to recalibrate the touchscreen to work with the new screen orientation. You can manually run the calibration processes in the next section, or you can run a small Python script which will automatically set a default touchscreen calibration based on the screen orientation.
+
[https://raw.githubusercontent.com/adafruit/PiTFT_Extras/master/pitft_touch_cal.py Petit script d'aide (dit ''helper'') qui est automatiquement installé mais dont voici la source sur GitHub]
    +
Executez la ligne de commande {{fname|sudo adafruit-pitft-touch-cal}}
   −
[https://raw.githubusercontent.com/adafruit/PiTFT_Extras/master/pitft_touch_cal.py This helper is automatically installed for you but if you'd like you can check it out here on github]
+
Le script essaye de détecter l'écran installé et l'état du paramètre de rotation
 
  −
Run it at the command line with {{fname|sudo adafruit-pitft-touch-cal}}
  −
 
  −
it will try to figure out what display you have installed and the rotation it's set up for
      
{{ADFImage|RASP-PiTFT-PLUS-Touch-20.png|640px}}
 
{{ADFImage|RASP-PiTFT-PLUS-Touch-20.png|640px}}
   −
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 essaye d'obtenir l'orientation de l'écran en examinant la configuration du module PiTFT avec modprobe. Si le script peut lire l'orientation alors il l'affichera à l'écran, ainsi que les valeurs de calibration actuelles et les nouvelles valeurs de calibration basée sur l'orientation effective de l'écran. Pressez "y" (oui) et le retour-claver (enter) pour confirmer.
    
{{ADFImage|RASP-PiTFT-PLUS-Touch-21.png|640px}}
 
{{ADFImage|RASP-PiTFT-PLUS-Touch-21.png|640px}}
   −
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 le script de calibration par défaut pour facilement calibrer votre afficheur tactile. Notez que les valeurs de calibration pourraient ne pas être les valeurs correspondant exactement à votre écran (tous les écrans sont sensiblement différents) mais elles devraient être suffisamment proche pour répondre à la plupart des besoins courants. Si vous avez besoin d'une calibration tactile plus précise, suivez les étapes de la prochaine section afin de calibrer manuellement votre écran tactile.
    
== Calibration Manuelle ==
 
== Calibration Manuelle ==
29 917

modifications

Menu de navigation