File tree Expand file tree Collapse file tree 3 files changed +27
-6
lines changed Expand file tree Collapse file tree 3 files changed +27
-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
+
1
6
0.0.2
2
7
-----
3
8
Original file line number Diff line number Diff line change 5
5
[ ![ PyPi Package] ( https://img.shields.io/pypi/v/icm20948.svg )] ( https://pypi.python.org/pypi/icm20948 )
6
6
[ ![ Python Versions] ( https://img.shields.io/pypi/pyversions/icm20948.svg )] ( https://pypi.python.org/pypi/icm20948 )
7
7
8
+
8
9
# Installing
9
10
10
- Stable library from PyPi:
11
+ If you've already set up a Python virtual environment, you can also install the stable library manually from PyPi:
12
+
13
+ ```
14
+ pip install icm20948
15
+ ```
16
+
17
+ Otherwise our install script will set one up for you.
18
+
19
+ Stable library from GitHub:
11
20
12
- * Just run ` python3 -m pip install icm20948 `
21
+ ```
22
+ git clone https://github.com/pimoroni/icm20948-python
23
+ cd icm20948-python
24
+ ./install.sh
25
+ ```
13
26
14
27
Latest/development library from GitHub:
15
28
16
- * ` git clone https://github.com/pimoroni/icm20948-python `
17
- * ` cd icm20948-python `
18
- * ` ./install.sh --unstable `
29
+ ```
30
+ git clone https://github.com/pimoroni/icm20948-python
31
+ cd icm20948-python
32
+ ./install.sh --unstable
33
+ ```
19
34
35
+ ** Note** Libraries will be installed in the "pimoroni" virtual environment, you will need to activate it to run examples:
Original file line number Diff line number Diff line change 1
1
import struct
2
2
import time
3
3
4
- __version__ = '0 .0.2 '
4
+ __version__ = '1 .0.0 '
5
5
6
6
CHIP_ID = 0xEA
7
7
I2C_ADDR = 0x68
You can’t perform that action at this time.
0 commit comments