Up until now we have seen the Raspberry Pi communicate with the keyboard and mouse as input devices and the display as an output. The Raspberry Pi can communicate with a wide variety of peripherals – a fancy name for things you can add on – as well as electronic components like Light Emitting Diodes (LEDs) or switches. This is achieved by attaching devices through the pins on the top of the Raspberry Pi. These pins are called the General Purpose Input/ Output pins or GPIOs for short.
© Sloan Kelly 2019
Sloan KellyPython, PyGame, and Raspberry Pi Game Developmenthttps://doi.org/10.1007/978-1-4842-4533-0_2121. Simple Electronics with the GPIO Pins
Sloan Kelly1
(1)
Niagara Falls, ON, Canada
There are 40 pins on a Raspberry Pi Model B+ as shown in Figure ...
Get Python, PyGame, and Raspberry Pi Game Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.