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

5. A Little Deeper into Development

So far, we have written a couple basic programs together—one of which you can find copies of on the Internet and is a basic example of how to blink a Light Emitting Diode (LED) that is built in to the BeagleBone Black. The other is an introduction to creating a circuit that uses components to alternately blink two LEDs. At the end of the last chapter, you discovered that the time between the actions for the two LEDs is 1ms.

You learned before that the Central Processing Unit (CPU) clock on the BeagleBone Black, which regulates how fast actions happen in the CPU, runs at 1GHz. That is one billion cycles per second. To get the amount of time between cycles, you simply take the inverse, and you end up with 0.000001ms ...

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