Hey guys sorry that my first post is me asking for help but i am a long time watcher of Ben Heck and since he's come to element14 i've been waiting for a time to ask you guys something when i need help. That time has come. OK i have a Sparkfun MPU 6050, arduino duemilanove running the new software. I have the sparkfun chip's GND-Gnd, SCL- Analog 5, SDA- analog 4, VIO- 3v3 to the arduino. I am trying to get the Invensense teapot to work with the arduino and i am using https://github.com/bzerk/MPU6050_DMP_6_axis_demo_ code. When i get the code the run the teapot just jiggles and forces my mouse to click everywhere on the screen. Cant seem to fix this issue. I also tried both verisons of this code as well- https://github.com/jrowberg/i2cdevlib/tree/master/Arduino/MPU6050/Examples
My goal with this project is simple in a sense. the main thing I need it to do is read the angle of itself, then a switch is pressed, save that angle, then the device will lean more and come back, once the current angle is passed the saved mark it turns the switch off.
Any help would be grand and if you need more info let me know!
Thank you guys!