MPU9250 on Arduino Nano
-
I connect this sensor to Arduino Nano and some errors
/home/insippo/sketchbook/libraries/ArduinoMotionSensorExample/inv_mpu.cpp:47:0: warning: "min" redefined
#define min(a,b) ((a<b)?a:b)
^
In file included from /home/insippo/sketchbook/libraries/ArduinoMotionSensorExample/I2Cdev.h:77:0,
from /home/insippo/sketchbook/libraries/ArduinoMotionSensorExample/inv_mpu.h:24,
from /home/insippo/sketchbook/libraries/ArduinoMotionSensorExample/inv_mpu.cpp:25:
/home/insippo/.arduino15/packages/arduino/hardware/avr/1.6.14/cores/arduino/Arduino.h:92:0: note: this is the location of the previous definition
#define min(a,b) ((a)<(b)?(a):(b))
^
/home/insippo/sketchbook/libraries/ArduinoMotionSensorExample/inv_mpu.cpp:50:2: error: #error Which gyro are you using? Define MPUxxxx in your compiler options.
#error Which gyro are you using? Define MPUxxxx in your compiler options.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login