Chapter 3. Accessing the GPIO Pins on Raspberry Pi Zero
Now that you are familiar with Raspberry Pi Zero and also how to create, edit, and upload a program, this chapter will turn your focus to the hardware. You'll get the chance to learn how to connect and access, from the software, the capabilities of the Raspberry Pi GPIO pins.
In this chapter you'll learn:
- All about Raspberry Pi Zero's GPIO pins and what they can and can't do
- A very basic circuit and very simple programming examples of how to interface Raspberry Pi Zero's GPIO to produce a digital control signal
- A more complex example of how to interface Raspberry Pi Zero's GPIO with a sonar sensor
- An example of how to connect an I2C device to Raspberry Pi Zero
The GPIO capability of Raspberry Pi ...