Skip to content

Commit

Permalink
Add separate README for PyPi
Browse files Browse the repository at this point in the history
  • Loading branch information
m-rtijn committed Oct 19, 2016
1 parent d5d8d10 commit ad37c8c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.rst
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include README.md
include README.rst
16 changes: 16 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
MPU-6050 Python

This program handles the I2C communication between a Raspberry Pi and a MPU-6050 Gyroscope/Accelerometer sensor.

For this program to work you need to have I2C enabled on your Raspberry Pi and you need to have the python-smbus package installed.

Using the module is quite straight-forward. You simply create an object of the
mpu6050 class and use the appropriate methods to get your data.

The following methods are available to read sensor data:

```python
get_accel_data()
get_gyro_data()
get_temp()
```
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def readme():
return f.read()

setup(name='mpu6050-raspberrypi',
version='1.0.3',
version='1.0.3.1',
description='A package to handle the i2c communication between a Raspberry Pi and a MPU-6050',
classifiers=[
'License :: OSI Approved :: MIT License',
Expand Down

0 comments on commit ad37c8c

Please sign in to comment.