Modifications

Sauter à la navigation Sauter à la recherche
167 octets ajoutés ,  13 juin 2012 à 19:28
Ligne 82 : Ligne 82 :     
== Exemple: le Paint tactile ==
 
== Exemple: le Paint tactile ==
The LCD has a 2.8" 4-wire resistive touch screen glued onto it. You can use this for detecing finger-presses, stylus', etc. You'll need 4 pins to talk to the touch panel '''but we reuse''' some of the pins for the TFT LCD! This is because the resistance of the panel is high enough that it doesn't interfere with the digital input/output and we can query the panel in between TFT accesses, when the pins are not being used.
+
Ce LCD dispose d'un écran tactile de 2.8" 4-fils (collé sur le LCD). Vous pouvez l'utiliser pour détecter la pression du doigt, d'un stylus, etc. Normalement, vous avez besoin de 4 pins pour dialoguer avec la couche tactile '''mais nous avons réutilisé''' des pins/broches de l'écran LCD! Cela est possible parce que la résistance de la couche résistive est suffisamment grande pour ne pas interférer avec les opérations digitale (input/output). Nous pouvons donc interroger la couche résistive entre deux accès aux TFT (écran LCD), pendant que les pins ne sont pas utilisées.
    
[https://github.com/adafruit/Touch-Screen-Library Visit our github repository] and click on the '''Downloads''' button in the top right corner to download a zip of the library and examples. Uncompress the folder and rename it '''TouchScreen''' make sure that inside that folder is the cpp and .h files. Then copy it to your arduinosketchfolder/libraries folder. [http://www.ladyada.net/library/arduino/libraries.html See our tutorial for more details].
 
[https://github.com/adafruit/Touch-Screen-Library Visit our github repository] and click on the '''Downloads''' button in the top right corner to download a zip of the library and examples. Uncompress the folder and rename it '''TouchScreen''' make sure that inside that folder is the cpp and .h files. Then copy it to your arduinosketchfolder/libraries folder. [http://www.ladyada.net/library/arduino/libraries.html See our tutorial for more details].
29 917

modifications

Menu de navigation