Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 891 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 891 Bytes

mpu6050rpi

Pure Data external for the MPU6050 motion sensor.

Logos

Based on code from alex-mous' MPU6050 library and rfetick's MPU6050_light for Arduino.

Installation

  1. Install the GY-521 as shown in this video. Also enable i2c.
  2. Install libraries: sudo apt-get install libi2c-dev i2c-tools libi2c0.
  3. Go to the mpu6050rpi directory and type make.
  4. In Pure Data, go to Preferences->Path and add the path of the mpu6050rpi directory.

How to use

Add the [mpu6050rpi] external to your Pure Data patch. Right-click and select help.

Please excuse my C

Due to my limited knowledge of C, the code could probably use some restructuring. Do refactor! School me!