Hello every body
hope to be good
first let me apologize for my poor English
i am new to Arduino and i want to set up MPU 6050 with it
i have downloaded a sample code that will be attached to this topic
but whenever i want to compile it, i encounter with the error that is as below
I2Cwrite was not declared on this scope
Arduino: 1.5.6-r2 (Windows 8), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
MPU6050.ino:21:17: error: I2C.h: No such file or directory
MPU6050.ino: In function 'void setup()':
MPU6050:51: error: 'i2cWrite' was not declared in this scope
MPU6050:52: error: 'i2cWrite' was not declared in this scope
MPU6050:54: error: 'i2cRead' was not declared in this scope
MPU6050:63: error: 'i2cRead' was not declared in this scope
MPU6050.ino: In function 'void loop()':
MPU6050:91: error: 'i2cRead' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
i want to know what will you suggest me to overcome this problem
thanks for help
IMU6DOF.zip (21.2 KB)