Skip to main content

Python library for the DRV2605 Haptic Driver

Project description

DRV2605 Haptic Driver

Build Status Coverage Status PyPi Package Python Versions

Installing

If you've already set up a Python virtual environment, you can also install the stable library manually from PyPi:

pip install drv2605

Otherwise our install script will set one up for you.

Stable library from GitHub:

git clone https://github.com/pimoroni/drv2605-python
cd drv2605-python
./install.sh

Latest/development library from GitHub:

git clone https://github.com/pimoroni/drv2605-python
cd drv2605-python
./install.sh --unstable

Note Libraries will be installed in the "pimoroni" virtual environment, you will need to activate it to run examples:

source ~/.virtualenvs/pimoroni/bin/activate

Vibration Patterns

The DRV2605 has a library of built-in vibration patterns great for haptic feedback, notifications and more. For the complete list see:

http://www.ti.com/document-viewer/DRV2605/datasheet/waveform-library-effects-list-slos854718

1.0.0

  • Port to hatch/pyproject.toml
  • Bump i2cdevice to v1.0.0

0.0.3

  • Fix set_sequence, issue #2

0.0.2

  • Port to i2cdevice>=0.0.6 set/get API

0.0.1

  • Initial Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

drv2605-1.0.0.tar.gz (13.4 kB view hashes)

Uploaded Source

Built Distribution

drv2605-1.0.0-py3-none-any.whl (8.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page