...
Following image copied from http://pinout.xyz shows the BCM pin numbering on the GPIO connector:
Obrázok prevzatý z http://pinout.xyz zobrazuje BCM číslovanie pinov na GPIO konektore
Address |
---|
Description | I/O tag type | Examples |
---|---|---|
DI,id | The GPIO pin |
will be configured as a digital input.If the voltage of 3.3V |
Varianty DI_UP a DI_DOWN konfigurujú vnútorné
is applied to it, the value of input will be 1. If 0V (ground) voltage is applied to it, the value of input will be 0. |
resistors, so the voltage 3.3V (DI_UP) |
or ground (DI_DOWN) |
is connected to the input via the resistor, so even without external voltage applied the input is in a defined state.The DI variant configures the pin so that the pull-up/pull-down |
resistors are disconnected. | Di, Ci, Ai | DI,25 DI_UP,24 |
DO,id | The GPIO pin |
will be configured as a digital output.If a value of 1 is written to it, the output will be 3.3V. |
If 0 is written, output voltage will be 0V (ground). | Dout, Co, Ao | DO,24 |
PWM,id | The GPIO pin |
will be configured as PWM (pulse width modulation) |
output. It is then possible to write values 0-255 controlling the width of pulse from fully off to fully on. | Dout, Co, Ao | PWM,12 |
REVISON |
The revision of the hardware (the number from the "Revision" |
line from the /proc/cpuinfo |
file. For example, for RPI 3 in this file is the row "Revision : a02082" |
and the revision value is 10494082 (after conversion from hexadecimal system). | Ci | REVISON |
I/O tag addresses for NPE-X500
...