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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file drv2605-1.0.0.tar.gz.

File metadata

  • Download URL: drv2605-1.0.0.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.2

File hashes

Hashes for drv2605-1.0.0.tar.gz
Algorithm Hash digest
SHA256 dd4ca7f914f528f2632f580edb1e99f684510daf51f194c1d956041c4c82d1f9
MD5 5c24d242a5cac51a0a0289a1b21bb6ec
BLAKE2b-256 be2234d1148a2460c0214d94ceaffdb7a57bf6f7ef97a3970d6cd3dca52ad148

See more details on using hashes here.

File details

Details for the file drv2605-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: drv2605-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.2

File hashes

Hashes for drv2605-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1130ee2a18f2c21cd955e5bb2c90b1864d7ebad3069cf0794fa07eb0efa1594a
MD5 f98c4a2251872d864db95230c4d5e41a
BLAKE2b-256 fca6268f600a2e2c93d15aef9d08bfd5587ec58bedef286c9ac25fd5b7d03eb5

See more details on using hashes here.

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