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 ...

Get The BeagleBone Black Primer now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.