File tree Expand file tree Collapse file tree 3 files changed +32
-6
lines changed Expand file tree Collapse file tree 3 files changed +32
-6
lines changed Original file line number Diff line number Diff line change 1+ 1.0.0
2+ -----
3+
4+ * Repackage to hatch/pyproject.toml
5+ * Bump to i2cdevice 1.0.0
6+
170.0.1
28-----
39
Original file line number Diff line number Diff line change 77
88# Installing
99
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:
1111
12- * Just run ` python3 -m pip install drv8830 `
12+ ```
13+ pip install drv8830
14+ ```
15+
16+ Otherwise our install script will set one up for you.
17+
18+ Stable library from GitHub:
19+
20+ ```
21+ git clone https://github.com/pimoroni/drv8830-python
22+ cd drv8830-python
23+ ./install.sh
24+ ```
1325
1426Latest/development library from GitHub:
1527
16- * ` git clone https://github.com/pimoroni/drv8830-python `
17- * ` cd drv8830-python `
18- * ` ./install.sh --unstable `
28+ ```
29+ git clone https://github.com/pimoroni/drv8830-python
30+ cd drv8830-python
31+ ./install.sh --unstable
32+ ```
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+ ```
1939
Original file line number Diff line number Diff line change 11from i2cdevice import BitField , Device , Register
22from i2cdevice .adapter import Adapter , LookupAdapter
33
4- __version__ = '0 .0.1 '
4+ __version__ = '1 .0.0 '
55
66I2C_ADDR1 = 0x60 # Default, both select jumpers bridged (not cut)
77I2C_ADDR2 = 0x61 # Cut A0
You can’t perform that action at this time.
0 commit comments