Skip to content

Commit

Permalink
Minor tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
m-rtijn committed Oct 11, 2015
1 parent acf11bd commit 71f1a69
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions MPU6050.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ class MPU6050:
# MPU-6050 Registers
PWR_MGMT_1 = 0x6B
PWR_MGMT_2 = 0x6C

SELF_TEST_X = 0x0D
SELF_TEST_Y = 0x0E
SELF_TEST_Z = 0x0F
SELF_TEST_A = 0x10

ACCEL_XOUT0 = 0x3B
ACCEL_XOUT1 = 0x3C
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MPU-6050 Python

This program handles the i2c communication between a Raspberry Pi and a MPU-6050 Gyroscope/Accelerometer sensor.
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.
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.
1 change: 1 addition & 0 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ TODO:
Add:
- Method to disable the temp sensor.
- Methods to change the clock source of the device.
- Implement self test
- Implement (almost) all the features made available by the hardware.

Fix:
Expand Down

0 comments on commit 71f1a69

Please sign in to comment.