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+
160.0.2
27-----
38
Original file line number Diff line number Diff line change 55[ ![ PyPi Package] ( https://img.shields.io/pypi/v/icm20948.svg )] ( https://pypi.python.org/pypi/icm20948 )
66[ ![ Python Versions] ( https://img.shields.io/pypi/pyversions/icm20948.svg )] ( https://pypi.python.org/pypi/icm20948 )
77
8+
89# Installing
910
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:
1120
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+ ```
1326
1427Latest/development library from GitHub:
1528
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+ ```
1934
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 11import struct
22import time
33
4- __version__ = '0 .0.2 '
4+ __version__ = '1 .0.0 '
55
66CHIP_ID = 0xEA
77I2C_ADDR = 0x68
You can’t perform that action at this time.
0 commit comments