Modifications

Sauter à la navigation Sauter à la recherche
Ligne 9 : Ligne 9 :     
== Broche d'interruption (tactile) ==
 
== Broche d'interruption (tactile) ==
Advanced users may want to get an interrupt on a pin (or even, just test a pin rather than do a full SPI query) when the touchscreen is pressed. You can do that by jumpering the #7 solder jumper labeled '''TS int'''. We didn't want it to connect to #2 or #3 since those are the Leonardo I2C pins. [http://playground.arduino.cc//Main/PinChangeIntExample You can use pin change interrupts to get an interrupt callback on #7]. Or, with a little blue wire, advanced users can connect a wire from the TS interrupt pad to any pin they choose. We find that querying the
+
Les utilisateurs avancés pourraient avoir besoin d'utiliser une broche d'interruption sur une broche (ou même simplement tester une broche plutôt que de lancer une requête sur le bus SPI) pour être averti lorsque la partie tactile est pressée.  
 +
 
 +
Vous pouvez simplement ponter le cavalier/pastille de '''TS int''' pour utiliser la broche #7. We didn't want it to connect to #2 or #3 since those are the Leonardo I2C pins. [http://playground.arduino.cc//Main/PinChangeIntExample You can use pin change interrupts to get an interrupt callback on #7]. Or, with a little blue wire, advanced users can connect a wire from the TS interrupt pad to any pin they choose. We find that querying the
    
{{TFT-TOUCH-SHIELD-v2-TRAILER}}
 
{{TFT-TOUCH-SHIELD-v2-TRAILER}}
29 918

modifications

Menu de navigation