Adafruit BBIO is an API to enable GPIO, PWM, ADC, UART, SPI and eQEP (Quadrature Encoder) hardware access from Python applications running on the Beaglebone.
It is recommended to use an official BeagleBoard.org Debian image
Currently recommended image: Debian 10.3 “Buster” IoT (2020-04-06) (default kernel is 4.19.x-ti)
Adafruit_BBIO supports Linux kernels 3.8 through 4.19
New versions of Adafruit_BBIO may break backwards compatibility. Please read the changelog.
It is recommended to use Python 3
Installation on Debian
Note: Follow the instructions on BeagleBoard.org to get connected to the Internet
Easiest:
sudo apt-get update sudo apt-get install build-essential python3-dev python3-pip -y sudo pip3 install Adafruit_BBIO
Manual:
sudo apt-get update sudo apt-get install build-essential python3-dev python3-pip -y git clone git://github.com/adafruit/adafruit-beaglebone-io-python.git cd adafruit-beaglebone-io-python sudo python3 setup.py install
Upgrade Adafruit_BBIO to latest version on PyPI:
sudo pip3 install --upgrade Adafruit_BBIO
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)