Modifications

Sauter à la navigation Sauter à la recherche
1 621 octets ajoutés ,  19 juin 2016 à 18:56
Ligne 52 : Ligne 52 :  
{{ADFImage|RASP-PiTFT-Soft-Touch-04b.png|480px}}
 
{{ADFImage|RASP-PiTFT-Soft-Touch-04b.png|480px}}
   −
OK commençons maintenant le processus de calibration! Vous n'aurez besoin d'effectuer cette tâche qu'une seule fois.  
+
== Calibration automagique ==
 +
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.
 +
 
 +
This helper is automatically installed for you but if you'd like you can check it out here on github
 +
 
 +
Run it at the command line with 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-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
 +
 
 +
{{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.
 +
 
 +
== Calibration manuelle ==
 +
Si la calibration "automarique" ne convient pas OU si vous avez besoin d'une calibration plus fine ALORS vous pouvez effectuer une calibration manuelle.
 +
 
 +
Vous aurez besoin d'effectuer cette tâche qu'une seule fois.  
    
Tapez la commande suivante pour commencer la calibration
 
Tapez la commande suivante pour commencer la calibration
29 917

modifications

Menu de navigation