
6/Basic Input
and Output
While the Raspberry Pi is, in essence, a very
inexpensive Linux computer, there are a few
things that distinguish it from laptop and
desktop machines that we usually use for
writing email, browsing the Web, or word
processing. One of the main differences
is that the Raspberry Pi can be directly
used in electronics projects, because it has
general-purpose input/output
pins right on
the board, shown in Figure 6-1.
Figure 6-1.
Raspberry Pi’s GPIO pins
Basic Input and Output 89
GSW_RASPI_4ED_FIN.indd 89GSW_RASPI_4ED_FIN.indd 89 10/28/21 10:54 AM10/28/21 10:54 AM