O'Reilly logo

The BeagleBone Black Primer by Brian McLaughlin

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

7. Expanding the Hardware Horizon

We’ve developed an excellent set of the fundamentals of a BeagleBone Black so far. At this point, you know how to log in, move around in the Linux environment, write basic software, and upgrade the operating system. Now it is time for us to delve deeper into how to use some of these capabilities. It is time to communicate with the expansion headers by doing more than just blinking a pair of LEDs.

In Chapter 5, “A Little Deeper into Development,” we wrote a basic program to blink back and forth on a pair of lights, much like a railroad crossing. This signal is a good warning, but doesn’t really give any kind of meaningful information. What if we wanted to present a number to the user via the outputs? The binary ...

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