L2Cdev lib installation not working
i added l2cdev lib mpu6050 arduino library (pretty sure nothing went wrong there , re did couple times)
from here: https://github.com/jrowberg/i2cdevlib
when run mpu6050_dmp.ino example error code
it not finding i2c.h. thought included standard. nevertheless tried installing manually.
but after error :
i kinda clueless now. appreciated
from here: https://github.com/jrowberg/i2cdevlib
when run mpu6050_dmp.ino example error code
code: [select]
arduino: 1.5.4 (linux), board: "arduino leonardo"
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c:14:17: error: i2c.h: datei oder verzeichnis nicht gefunden
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c: in function 'i2c_masterinit':
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c:50: error: 'i2c_pxsel' undeclared (first use in function)
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c:50: error: (each undeclared identifier reported once
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c:50: error: each function appears in.)
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c:50: error: 'sda_pin' undeclared (first use in function)
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c:50: error: 'scl_pin' undeclared (first use in function)
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c:51: error: 'ucb1ctl1' undeclared (first use in function)
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c:51: error: 'ucswrst' undeclared (first use in function)
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c:52: error: 'ucb1ctl0' undeclared (first use in function)
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c:52: error: 'ucmst' undeclared (first use in function)
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c:52: error: 'ucmode_3' undeclared (first use in function)
it not finding i2c.h. thought included standard. nevertheless tried installing manually.
but after error :
code: [select]
arduino: 1.5.4 (linux), board: "arduino leonardo"
in file included /home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c:14:
/home/jan/tools/arduino-1.5.4/libraries/mpu6050/i2c.h:90: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'i2c'
/home/jan/tools/arduino-1.5.4/libraries/mpu6050/i2c.h:133: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'i2c'
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c: in function 'i2c_masterinit':
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c:50: error: 'i2c_pxsel' undeclared (first use in function)
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c:50: error: (each undeclared identifier reported once
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c:50: error: each function appears in.)
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c:50: error: 'sda_pin' undeclared (first use in function)
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c:50: error: 'scl_pin' undeclared (first use in function)
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c:51: error: 'ucb1ctl1' undeclared (first use in function)
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c:51: error: 'ucswrst' undeclared (first use in function)
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c:52: error: 'ucb1ctl0' undeclared (first use in function)
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c:52: error: 'ucmst' undeclared (first use in function)
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c:52: error: 'ucmode_3' undeclared (first use in function)
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c:52: error: 'ucsync' undeclared (first use in function)
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c:53: error: 'ucssel_2' undeclared (first use in function)
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c:54: error: 'ucb1br0' undeclared (first use in function)
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c:54: error: 'i2c_prescale' undeclared (first use in function)
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c:55: error: 'ucb1br1' undeclared (first use in function)
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c: in function 'i2c_enable':
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c:73: error: 'ucb1ctl1' undeclared (first use in function)
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c:73: error: 'ucswrst' undeclared (first use in function)
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c: in function 'i2c_disable':
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c:91: error: 'ucb1ctl1' undeclared (first use in function)
/home/jan/tools/arduino-1.5.4/libraries/i2cdev/msp430_i2c.c:91: error: 'ucswrst' undeclared (first use in function)
i kinda clueless now. appreciated
Arduino Forum > Using Arduino > Installation & Troubleshooting > L2Cdev lib installation not working
arduino
Comments
Post a Comment