1
0
Fork
You've already forked drv2605l
0
No description
  • Rust 100%
2026年06月17日 17:30:14 -05:00
.cargo Got libs updated and lib and example building 2026年06月14日 23:30:05 -05:00
.vscode drv2605l first 2021年11月07日 11:36:04 -07:00
examples Fix typo 2026年06月16日 09:44:52 -05:00
src Fix typo 2026年06月16日 09:44:52 -05:00
.gitignore haptic driver 2018年09月08日 00:09:05 -07:00
Cargo.toml Get rid of rust-analyzer issue 2026年06月16日 09:45:09 -05:00
LICENSE-APACHE drv2605l first 2021年11月07日 11:36:04 -07:00
LICENSE-MIT drv2605l first 2021年11月07日 11:36:04 -07:00
README.md Add credits to README 2026年06月17日 17:30:14 -05:00

drv2605l

[NOTE: This is actually a fork of Jacob Rosenthal's excellent library, which itself is a fork of Wez Furlong's excellent library. I'm eternally grateful to both]

This module implements a driver for the drv2605l, a Haptic Driver device addressable via I2C from Texas Instruments.

Its rather fully featured implementation for both LRA and ERM motors including:

  • Internal rom library sequencing and playback
  • Pwm playback at the in/trig pin
  • Real time playback over i2c commands
  • Analog voltage input at the in/trig pin

A few things are not supported at the time of this writing:

  • bidirectional input
  • choosing loop operation. The prefered and far more common closed loop operation is hardcoded except for the case of ERM rom libraries which require open loop.
  • audio to vibe mode
  • external trigger mode

This work originated in the drv2065 driver and may be able to unify someday.

License

Licensed under either of:

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.