Commit df40e31 1 parent 5211243 commit df40e31 Copy full SHA for df40e31
File tree 3 files changed +17
-3
lines changed
3 files changed +17
-3
lines changed Original file line number Diff line number Diff line change
1
+ 1.0.0
2
+ -----
3
+
4
+ * Port to hatch/pyproject.toml
5
+ * Bump i2cdevice to v1.0.0
6
+
1
7
0.0.3
2
8
-----
3
9
Original file line number Diff line number Diff line change 7
7
8
8
# Installing
9
9
10
- Stable library from PyPi:
10
+ If you've already set up a Python virtual environment, you can also install the stable library manually from PyPi:
11
11
12
12
```
13
13
pip install drv2605
14
14
```
15
15
16
- or:
16
+ Otherwise our install script will set one up for you.
17
+
18
+ Stable library from GitHub:
17
19
18
20
```
19
21
git clone https://github.com/pimoroni/drv2605-python
@@ -29,6 +31,12 @@ cd drv2605-python
29
31
./install.sh --unstable
30
32
```
31
33
34
+ ** Note** Libraries will be installed in the "pimoroni" virtual environment, you will need to activate it to run examples:
35
+
36
+ ```
37
+ source ~/.virtualenvs/pimoroni/bin/activate
38
+ ```
39
+
32
40
# Vibration Patterns
33
41
34
42
The DRV2605 has a library of built-in vibration patterns great for haptic feedback, notifications and more. For the complete list see:
Original file line number Diff line number Diff line change 4
4
from i2cdevice import BitField , Device , Register
5
5
from i2cdevice .adapter import Adapter , LookupAdapter
6
6
7
- __version__ = '0 .0.3 '
7
+ __version__ = '1 .0.0 '
8
8
9
9
DRV2605_ADDR = 0x5a
10
10
You can’t perform that action at this time.
0 commit comments