Skip to content
This repository was archived by the owner on Oct 25, 2019. It is now read-only.

Commit 7dbf77a

Browse files
committed
Update README.md
1 parent c094b25 commit 7dbf77a

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,18 @@
1-
# Adafruit_Python_LSM303
1+
# Adafruit Python LSM303
22
Python code to use the LSM303 accelerometer & magnetometer with Raspberry Pi & BeagleBone Black.
3+
4+
## Installation
5+
6+
To install the library from source (recommended) run the following commands on a Raspberry Pi or other Debian-based OS system:
7+
8+
sudo apt-get install git build-essential python-dev
9+
cd ~
10+
git clone https://github.com/adafruit/Adafruit_Python_LSM303.git
11+
cd Adafruit_Python_LSM303
12+
sudo python setup.py install
13+
14+
Alternatively you can install from pip with:
15+
16+
sudo pip install adafruit-lsm303
17+
18+
Note that the pip install method **won't** install the example code.

0 commit comments

Comments
 (0)