O'Reilly logo

Programming the BeagleBone by Yogesh Chavan

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

Summary

In this chapter we learned that GPIO pins are digital pins which provide control to the user to turn it on/off and set input/output direction via software. When the pin direction is set to output, one can make it HIGH/LOW and the component attached to that pin gets that HIGH/LOW signal. GPIO pins provide plug-in functionality to add external digital components to BeagleBone. We found that BeagleBone provides many GPIO pins via P8 and P9 headers to which we can connect digital components like LEDs, buzzers, relays, and so on. Then we wrote and tested BoneScript programs to blink and dance external LEDs. Now, we will move to interaction with another electronic component – the push button. In the next chapter, we will be taking input from ...

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