Knowledge Base
The AB Electronics UK Knowledge Base provides support solutions, tutorials and troubleshooting guides.
Python Library and Demos
Python Library and Demo Samples
Python Library & Demos
We have Python libraries available for several of our boards. You can find all of the libraries and demos from GitHub at:
https://github.com/abelectronicsuk/ABElectronics_Python_Libraries
Downloading and Installing the library
To download to your Raspberry Pi, type in the terminal:
git clone https://github.com/abelectronicsuk/ABElectronics_Python_Libraries.git
To install the Python library, navigate into the ABElectronics_Python_Libraries folder and run:
For Python 2.7:
sudo python setup.py install
For Python 3:
sudo python3 setup.py install
If you have PIP installed, you can install the library directly from GitHub with the following command:
For Python 2.7:
sudo python2.7 -m pip install git+https://github.com/abelectronicsuk/ABElectronics_Python_Libraries.git
For Python 3:
sudo python3 -m pip install git+https://github.com/abelectronicsuk/ABElectronics_Python_Libraries.git