Skip to content

Commit f28aa01

Browse files
authored
Update README.md
1 parent 3ed723e commit f28aa01

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
<h1>MPU6050 Accelerometer and Gyroscope C++ library</h1><br> <h2>Description</h2><br> &nbsp&nbsp&nbsp&nbspThis is a basic
1+
<h1>MPU6050 Accelerometer and Gyroscope C++ library</h1><br>
2+
<h2>Description</h2><br> &nbsp&nbsp&nbsp&nbspThis is a basic
23
control library for using the MPU6050 accelerometer and gyroscope module with Raspberry Pi using i2c protocol<br> &nbsp&nbsp&nbsp&nbspIt provides functions to read raw accelerometer data and fully
3-
corrected (with complementary filters and some logic) angles on any axis (roll, pitch, yaw)<br><br> <h2>Function
4+
corrected (with complementary filters and some logic) angles on any axis (roll, pitch, yaw)<br><br> <h2>Installation</h2><br>
5+
The dependencies for this library are libi2c-dev, i2c-tools, and libi2c0. These can be installed with apt. The latest version of this code now works on Raspbian Buster. Note: to run the code, you will need to enable I2C in raspi-config.<h2>Function
46
Definitions</h2> &nbsp&nbsp&nbsp&nbsp<h3>__constructor__ (MPU6050)<br></h3>
57
&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<b>args:</b><br> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspint8_t
68
addr - the address of the MPU6050 (usually 0x68; can find with command "i2cdetect -y 1" (may need to be installed - run "sudo

0 commit comments

Comments
 (0)