Python3 library for using the General Purpose Input Output (GPIO) of RaspberryPi on a higher level.
Go to file
2021-12-04 18:40:25 +00:00
RPiGPIOmakertools Capitalized class names 2021-12-04 17:10:09 +00:00
.gitignore added rules 2021-12-04 13:52:54 +00:00
CHANGES.md Added setup.py 2021-12-04 12:28:34 +00:00
LICENSE Initial commit 2021-12-04 11:35:17 +01:00
README.md Updated installation in README.md 2021-12-04 18:40:25 +00:00
rpi-pinout.png added rpi-pinout.png 2021-12-04 14:45:51 +00:00
setup.py Edited setup.py 2021-12-04 18:52:41 +01:00

RPiGPIO.makertools

Python library for using the GPIO on RaspberryPi with examples.

Installation

To install the RPiGPIO.makertools library, you first have to clone the git repo:

git clone https://git.privacynerd.de/dotmakertools/RPiGPIO.makertools.git

After this is done, cd into RPiGPIO.makertools and type:

python3 setup.py install

This will copy the required package files to your python installation point (or, in case of a virtual environment, to the lib directory of the env folder) and install all requirements.

When you want to use devices which communicate over I²C, you probably first have to enable with raspi-config:

  • Interface Options
  • I2C
  • Yes and OK

That's it! Now you can use the library in Python by importing it:

import RPiGPIOmakertools