A library for operating devices connected to a Raspberry Pi
This is a Python 3 library for easily setting up devices connected to a Raspberry Pi. It contains objects and methods for DC motors with and without software PWM, servos and LEDs.
Currently, following objects are available:
sudo pip install rpi_devices
or using setuptools:
git clone https://github.com/munircontractor/raspberry-pi-device-library cd raspberry-pi-device-library sudo python3 setup.py install
Then, in your code:
from rpi_devices import cleanup, <Device>
Copy the rpi_devices/devices.py files to your Raspberry Pi.
To use the objects, add the following lines at the top of your code:
import sys sys.path.append("/full/path/to/devices.py") from devices import cleanup, <Device>-
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|rpi_devices-0.1.0-py3-none-any.whl (7.4 kB) Copy SHA256 Checksum SHA256||py3||Wheel||Jul 16, 2016|
|rpi_devices-0.1.0.tar.gz (5.2 kB) Copy SHA256 Checksum SHA256||–||Source||Jul 16, 2016|