O'Reilly logo

Arduino Robotic Projects by Richard Grimmett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Accessing the GPIO Pins

Now that you are familiar with the Arduino IDE and how to create, edit, and upload a program, this chapter will now turn your focus to the HW. You'll get a chance to learn how to connect to and access the capabilities of the general purpose input/output (GPIO) pins from the SW. In this chapter, I'll start by explaining the GPIO pins, what they can and can't do, and then show you how to make Arduino access the outside world with the help of some very basic circuits and very simple programming examples.

The GPIO capability of Arduino

Arduino was built to access the outside world. Much of that access is through the GPIO pins. Each Arduino board has a different set of GPIO pins, so in this section, I'll provide details ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required