Modifications

Sauter à la navigation Sauter à la recherche
aucun résumé de modification
Ligne 1 : Ligne 1 :  
{{Rasp-Hack-GPIO-NAV}}
 
{{Rasp-Hack-GPIO-NAV}}
   −
 
+
Les broches du GPIO peuvent être utilisées comme sortie ou entrée digitale. As digital outputs, you can write programs that turn a particular pin HIGH or LOW. Setting it HIGH sets it to 3.3V setting it LOW sets it to 0V. To drive an LED from one of these pins, you need a 1kΩ resistor in series with the LED as the GPIO pins can only manage a small amount of power.
The GPIO pins can be used as both digital outputs and digital inputes. As digital outputs, you can write programs that turn a particular pin HIGH or LOW. Setting it HIGH sets it to 3.3V setting it LOW sets it to 0V. To drive an LED from one of these pins, you need a 1kΩ resistor in series with the LED as the GPIO pins can only manage a small amount of power.
      
If you use a pin as a digital input, then you can connect switches and simple sensors to a pin and then be able to check whether it is
 
If you use a pin as a digital input, then you can connect switches and simple sensors to a pin and then be able to check whether it is
Ligne 10 : Ligne 9 :  
* [[Rasp-Hack-PiButton|Pi Button]], détecter l'état d'un bouton avec PI et allumer une LED.
 
* [[Rasp-Hack-PiButton|Pi Button]], détecter l'état d'un bouton avec PI et allumer une LED.
    +
En anglais:
 
* http://learn.adafruit.com/raspberry-pi-e-mail-notifier-using-leds
 
* http://learn.adafruit.com/raspberry-pi-e-mail-notifier-using-leds
 
* http://learn.adafruit.com/playing-sounds-and-using-buttons-with-raspberry-pi
 
* http://learn.adafruit.com/playing-sounds-and-using-buttons-with-raspberry-pi
29 917

modifications

Menu de navigation