码迷,mamicode.com
首页 > 编程语言 > 详细

Duanxx的BeagleBone学习: 安装GPIO的Python库

时间:2015-04-24 09:11:09      阅读:165      评论:0      收藏:0      [点我收藏+]

标签: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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!