| ... | ... | @@ -4,7 +4,8 @@ GPIOs are grouped in ports and so each GPIO has an identifier. |
|
|
|
The identifiers have the following format: PXY, where X is the port name and Y is the pin number.
|
|
|
|
|
|
|
|
### Configuration
|
|
|
|
Before using a GPIO it has to be configured.
|
|
|
|
> :warning: **WARNING: Before using a GPIO it has to be correctly configured. A lot of times you can experience non-working code or drivers due to not initialized or configured GPIOs.**
|
|
|
|
|
|
|
|
Examples of possible configurations for a GPIO are:
|
|
|
|
- **Output**: the pin voltage level can be set (logic level high or low)
|
|
|
|
- **Input**: the pin voltage level can be read (logic level high or low)
|
| ... | ... | |