drv2605 python
Version 1.0.0
如果您已经设置了Python虚拟环境,则还可以手动从PYPI手动安装稳定的库:
pip install drv2605
否则,我们的安装脚本将为您设置一个。
Github的稳定图书馆:
git clone https://github.com/pimoroni/drv2605-python
cd drv2605-python
./install.sh
GitHub的最新/开发库:
git clone https://github.com/pimoroni/drv2605-python
cd drv2605-python
./install.sh --unstable
注意库将安装在“ Pimoroni”虚拟环境中,您需要激活它以运行示例:
source ~/.virtualenvs/pimoroni/bin/activate
DRV2605的内置振动模式非常适合触觉反馈,通知等。有关完整列表,请参见:
http://www.ti.com/document-viewer/drv2605/datasheet/waveform-library-effects-list-slos854718