Modifications

Sauter à la navigation Sauter à la recherche
1 643 octets ajoutés ,  17 janvier 2014 à 12:06
Page créée avec « {{TFT-TOUCH-SHIELD-v2-NAV}} {{traduction}} == Démo Paint == The LCD has a 2.8" 4-wire resistive touch screen glued onto it. You can use this for detecting finger-presses, ... »
{{TFT-TOUCH-SHIELD-v2-NAV}}

{{traduction}}

== Démo Paint ==
The LCD has a 2.8" 4-wire resistive touch screen glued onto it. You can use this for detecting finger-presses, stylus', etc. Normally, you'll need 4 pins to talk to the touch panel but we decided to go all snazzy and put a dedicated touch screen driver onto the shield. The driver shares the SPI pins with the TFT and SD card, so only one extra pin is needed (digital #8) This allows you to query the controller when you're ready to read touchscreen data, and saves 3 pins.

[https://github.com/adafruit/Adafruit_STMPE610 To control the touchscreen you'll need one more library] - the STMPE610 controller library which does all the low level chatting with the STMPE610 driver chip. Click below to download and then install it as before.

* [https://github.com/adafruit/Adafruit_STMPE610/archive/master.zip Download the STMPE610 Library]

Once you have the library installed, restart the IDE. Now from the '''examples->Adafruit_ILI9341''' menu select touchpaint and upload it to your Arduino.

{{ADFImage|blup.jpg|640px}}

{{ambox-stop|text=The touch screen is made of a thin glass sheet, and its very fragile - a small crack or break will make the entire touch screen unusable. Don't drop or roughly handle the TFT and be especially careful of the corners and edges. When pressing on the touchscreen, sometimes people can use the tip of their fingers, or a fingernail. If you don't find the touchscreen responds well to your fingers, you can use a rounded stylus which will certainly work. Do not press harder and harder until the screen cracks!}}

{{TFT-TOUCH-SHIELD-v2-TRAILER}}
29 973

modifications

Menu de navigation