hi
I would like to use the MPU6050 to achieve pitch and roll and send the signal to two servo's
The code is giving me an error
/tmp/833046162/build/libraries/mpu6050_0_0_2/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::I2Cdev()'
/tmp/833046162/build/libraries/seeed_pca9685_0_0_1/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/833046162/build/libraries/mpu6050_0_0_2/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::I2Cdev()'
/tmp/833046162/build/libraries/seeed_pca9685_0_0_1/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/833046162/build/libraries/mpu6050_0_0_2/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::writeBytes(unsigned char, unsigned char, unsigned char, unsigned char*)'
/tmp/833046162/build/libraries/seeed_pca9685_0_0_1/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/833046162/build/libraries/mpu6050_0_0_2/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::writeByte(unsigned char, unsigned char, unsigned char)'
/tmp/833046162/build/libraries/seeed_pca9685_0_0_1/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/833046162/build/libraries/mpu6050_0_0_2/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::writeWords(unsigned char, unsigned char, unsigned char, unsigned int*)'
/tmp/833046162/build/libraries/seeed_pca9685_0_0_1/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/833046162/build/libraries/mpu6050_0_0_2/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::writeWord(unsigned char, unsigned char, unsigned int)'
/tmp/833046162/build/libraries/seeed_pca9685_0_0_1/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/833046162/build/libraries/mpu6050_0_0_2/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readBytes(unsigned char, unsigned char, unsigned char, unsigned char*, unsigned int)'
/tmp/833046162/build/libraries/seeed_pca9685_0_0_1/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/833046162/build/libraries/mpu6050_0_0_2/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readByte(unsigned char, unsigned char, unsigned char*, unsigned int)'
/tmp/833046162/build/libraries/seeed_pca9685_0_0_1/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/833046162/build/libraries/mpu6050_0_0_2/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readBit(unsigned char, unsigned char, unsigned char, unsigned char*, unsigned int)'
/tmp/833046162/build/libraries/seeed_pca9685_0_0_1/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/833046162/build/libraries/mpu6050_0_0_2/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readBits(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char*, unsigned int)'
/tmp/833046162/build/libraries/seeed_pca9685_0_0_1/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/833046162/build/libraries/mpu6050_0_0_2/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::writeBit(unsigned char, unsigned char, unsigned char, unsigned char)'
/tmp/833046162/build/libraries/seeed_pca9685_0_0_1/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/833046162/build/libraries/mpu6050_0_0_2/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readTimeout'
/tmp/833046162/build/libraries/seeed_pca9685_0_0_1/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/833046162/build/libraries/mpu6050_0_0_2/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::writeBits(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char)'
/tmp/833046162/build/libraries/seeed_pca9685_0_0_1/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/833046162/build/libraries/mpu6050_0_0_2/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readWords(unsigned char, unsigned char, unsigned char, unsigned int*, unsigned int)'
/tmp/833046162/build/libraries/seeed_pca9685_0_0_1/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/833046162/build/libraries/mpu6050_0_0_2/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readWord(unsigned char, unsigned char, unsigned int*, unsigned int)'
/tmp/833046162/build/libraries/seeed_pca9685_0_0_1/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/833046162/build/libraries/mpu6050_0_0_2/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readBitW(unsigned char, unsigned char, unsigned char, unsigned int*, unsigned int)'
/tmp/833046162/build/libraries/seeed_pca9685_0_0_1/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/833046162/build/libraries/mpu6050_0_0_2/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readBitsW(unsigned char, unsigned char, unsigned char, unsigned char, unsigned int*, unsigned int)'
/tmp/833046162/build/libraries/seeed_pca9685_0_0_1/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/833046162/build/libraries/mpu6050_0_0_2/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::writeBitW(unsigned char, unsigned char, unsigned char, unsigned int)'
/tmp/833046162/build/libraries/seeed_pca9685_0_0_1/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/833046162/build/libraries/mpu6050_0_0_2/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::writeBitsW(unsigned char, unsigned char, unsigned char, unsigned char, unsigned int)'
/tmp/833046162/build/libraries/seeed_pca9685_0_0_1/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2: error: ld returned 1 exit status
exit status 1