MPU6050 + Arduino + Processing

This is his video of the MPU-6050 : MPU6050 DMP 6-axis Fusion running on Arduino!!! - YouTube

I loaded the program and tried to compile it with Arduino 1.0

Wire.send should be Wire.write
Wire.receive should be Wire.read

Comment these out:
// #include <avr/interrupt.h>
// #include <avr/pgmspace.h>

This code: "Wire.write(0x00)" causes an error. Replace all of them with "Wire.write((uint8_t)0x00)"

That compiles into 9788 bytes. I have ordered an MPU-6050, but I haven't tested the code. The file that compiles is attached.

MPU_6050.ino (28.9 KB)