Skip to main content

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

Release files for drv2605 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for drv2605 1.0.0
File Size Uploaded
drv2605-1.0.0.tar.gz 13.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for drv2605 1.0.0
File Interpreter ABI Platform
drv2605-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 22.1 kB

Release files / drv2605-1.0.0.tar.gz

Download URL drv2605-1.0.0.tar.gz
Size 13.4 kB
Tags Source
SHA-256 checksum
How to use checksums
dd4ca7f914f528f2632f580edb1e99f684510daf51f194c1d956041c4c82d1f9
BLAKE2b-256 checksum
How to use checksums
be2234d1148a2460c0214d94ceaffdb7a57bf6f7ef97a3970d6cd3dca52ad148
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.2

Release files / drv2605-1.0.0-py3-none-any.whl

Download URL drv2605-1.0.0-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1130ee2a18f2c21cd955e5bb2c90b1864d7ebad3069cf0794fa07eb0efa1594a
BLAKE2b-256 checksum
How to use checksums
fca6268f600a2e2c93d15aef9d08bfd5587ec58bedef286c9ac25fd5b7d03eb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.2

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.0.3

3 release files

0.0.2

3 release files

0.0.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page