1 010 octets ajoutés
, 15 mai 2017 à 21:16
{{PiFace2-Manuel-NAV}}
{{traduction}}
The 8 orange screw terminals are open-collector (see below for more details) outputs used to control external components such as LEDs, lights or motors and are labelled on the underside of the board.
[[Fichier:PiFace2-Manuel-Sorties-00.jpg]]
=== Indicateurs LEDs ===
The onboard LEDs can be used to show the status of an application running on the Raspberry Pi® without any additional components.
They are also useful for debugging circuits and code to confirm intended output state.
=== Connexion des sorties ===
To wire up an external LED connect the anode (longer leg of the LED) to the 5V screw terminal.
Connect the other leg, via a resistor (typically 330 ohm for most LEDs), to an output terminal.
When you enable the output, PiFaceTM Digital 2 allows current from the 5V supply to flow to ground through the LED which causes it to light up.
[[Fichier:PiFace2-Manuel-Sorties-10.jpg]]
[[Fichier:PiFace2-Manuel-Sorties-11.jpg]]
{{PiFace2-Manuel-TRAILER}}