Elio Saade
Note

GPIO

Topics: Embedded Systems

General-Purpose Input/Output (GPIO), as the name indicates, is a programmable pin on a microcontroller that can act as either an input or output for digital signals.

Common uses include reading buttons, triggering relays and switches, operating LEDs...

The typical workflow for GPIO is:

  • enable the pin
  • configure it as input/output
  • read input value / set output high or low

Connections

Direct relationships to this note.