PiServoHat_Py
Python for SFE Qwiic PiServoHat
|
Python module for the SparkFun Servo pHAT for Raspberry Pi and SparkFun Pi Servo HAT
This package should be used in conjunction with the overall SparkFun qwiic Python Package. New to qwiic? Take a look at the entire SparkFun qwiic ecosystem.
The PiServoHat Python package current supports the following platforms:
This package depends on the qwiic I2C driver: Qwiic_I2C_Py
This package depends on the PCA9685 PWM controller: Qwiic_PCA9685_Py
The SparkFun PiServoHat module documentation is hosted at ReadTheDocs
This repository is hosted on PyPi as the sparkfun-pi-servo-hat package. On systems that support PyPi installation via pip, this library is installed using the following commands
For all users (note: the user must have sudo privileges):
For the current user:
To install, make sure the setuptools package is installed on the system.
Direct installation at the command line:
To build a package for use with pip:
A package file is built and placed in a subdirectory called dist. This package file can be installed using pip.
See the examples directory for more detailed use examples.