
BeagleBone By Example
By :

To make it easy to work with GPIOs on BeagleBone boards using Python programming language, we will be installing the Adafruit-BeagleBone-IO-Python
library. The following steps will walk you through how to do it:
As we did in the previous chapter, the first thing you need to do is boot the BeagleBone board from the microSD card and log in to it via SSH:
Your next step will be to update the software dependency repositories in Debian running on the BeagleBone board before we start installing the other dependencies that are not installed and the libraries.
You can use the apt-get update
command to do this:
In this step, we will be installing certain software packages that are necessary for the library to work with the BeagleBone board. The command that you need to execute is as follows:
sudo apt-get install build-essential python-dev python-setuptools python-pip python-smbus –y
The...