标签:beaglebone python
第一步:upgrade dtc comiler ro enable SPI
wget -c https://raw.githubusercontent.com/RobertCNelson/tools/master/pkgs/dtc.sh
chmod +x dtc.sh
./dtc.sh
参考网址:https://learn.adafruit.com/introduction-to-the-beaglebone-black-device-tree/compiling-an-overlay
第二步:install Adafruit‘s BeagleBone IO Python Library
sudo ntpdate pool.ntp.org
sudo apt-get update
sudo apt-get install build-essential python-dev python-pip python-smbus -y
git clone git://github.com/adafruit/adafruit-beaglebone-io-python.git
cd adafruit-beaglebone-io-python
sudo python setup.py install
cd ..
sudo rm -rf adafruit-beaglebone-io-python
参考网址:https://learn.adafruit.com/setting-up-io-python-library-on-beaglebone-black/installation-on-ubuntu
Duanxx的BeagleBone学习: 安装GPIO的Python库
标签:beaglebone python
原文地址:http://blog.csdn.net/daunxx/article/details/45227119