Modifications

Sauter à la navigation Sauter à la recherche
Ligne 7 : Ligne 7 :     
== GPIO du STMPE ==
 
== GPIO du STMPE ==
First option is to just turn it on and off using the extra GPIO created by the touchscreen driver
+
La première option est juste d'activer ou désactiver le rétro-éclairage en utilisant les GPIO en extra créer par le pilote de l'écran tactile.
   −
Start by getting access to the GPIO by making a device link
+
 
 +
Commençons par obtenir l'accès sur le GPIO e, créant un ''device link''. Nous exécutons une commande en mode super-user (commande exécutée par le shell {{fname|sh}} qui à obtenu les super pouvoir grâce au {{fname|sudo}}).
    
  <nowiki>sudo sh -c "echo 508 > /sys/class/gpio/export"
 
  <nowiki>sudo sh -c "echo 508 > /sys/class/gpio/export"
29 917

modifications

Menu de navigation