O'Reilly logo

BeagleBone Essentials by Rodolfo Giometti

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. Quick Programming with Scripts

In the previous chapter, we dealt with native compilation and cross-compilation, but sometimes, it is better to use a script to quickly solve a problem.

In this chapter, we will see how to install and use some common scripting languages in our new BeagleBone Black board, and then see how to solve a real problem by writing the solution in different languages (we'll present PHP, Python, and Bash) in order to show you the differences between them.

The GPIO subsystem

In order to resolve a real problem, we first need to introduce you to one of the most used computer interfaces, the General Purpose Input Output (GPIO) interface. Using this interface, we can read or write some electrical statuses in the environment, ...

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